mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-08-29 03:18:28 +00:00
don't run peer test if limited connectivity
This commit is contained in:
@@ -793,7 +793,8 @@ namespace transport
|
||||
|
||||
void Transports::PeerTest (bool ipv4, bool ipv6)
|
||||
{
|
||||
if (RoutesRestricted() || !m_SSU2Server || m_SSU2Server->UsesProxy ()) return;
|
||||
if (RoutesRestricted() || i2p::context.IsLimitedConnectivity () ||
|
||||
!m_SSU2Server || m_SSU2Server->UsesProxy ()) return;
|
||||
if (ipv4 && i2p::context.SupportsV4 ())
|
||||
{
|
||||
LogPrint (eLogInfo, "Transports: Started peer test IPv4");
|
||||
|
||||
Reference in New Issue
Block a user