don't run peer test if limited connectivity

This commit is contained in:
orignal
2025-11-18 13:35:32 -05:00
parent a52f619d6a
commit 7bc7cdec36
+2 -1
View File
@@ -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");