mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
limited connectivity mode
This commit is contained in:
parent
d539c9677e
commit
8d1c186665
3 changed files with 4 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue