mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-23 17:36:37 +02:00
make SSU2 server eligible for peer test
This commit is contained in:
parent
a5a35b1fa6
commit
a1e414c3b7
1 changed files with 1 additions and 1 deletions
|
@ -630,7 +630,7 @@ namespace transport
|
||||||
|
|
||||||
void Transports::PeerTest (bool ipv4, bool ipv6)
|
void Transports::PeerTest (bool ipv4, bool ipv6)
|
||||||
{
|
{
|
||||||
if (RoutesRestricted() || !m_SSUServer) return;
|
if (RoutesRestricted() || (!m_SSUServer && !m_SSU2Server)) return;
|
||||||
if (ipv4 && i2p::context.SupportsV4 ())
|
if (ipv4 && i2p::context.SupportsV4 ())
|
||||||
{
|
{
|
||||||
LogPrint (eLogInfo, "Transports: Started peer test IPv4");
|
LogPrint (eLogInfo, "Transports: Started peer test IPv4");
|
||||||
|
|
Loading…
Add table
Reference in a new issue