limited connectivity mode

This commit is contained in:
orignal 2024-09-07 16:25:26 -04:00
parent d539c9677e
commit 8d1c186665
3 changed files with 4 additions and 2 deletions

View file

@ -599,7 +599,7 @@ namespace transport
}
LogPrint (eLogInfo, "Transports: No compatible addresses available");
if (peer->router->IsReachableFrom (i2p::context.GetRouterInfo ()))
if (!i2p::context.IsLimitedConnectivity () && peer->router->IsReachableFrom (i2p::context.GetRouterInfo ()))
i2p::data::netdb.SetUnreachable (ident, true); // we are here because all connection attempts failed but router claimed them
peer->Done ();
std::unique_lock<std::mutex> l(m_PeersMutex);