From 651240113c6dc1a133c034c861efb303daefba07 Mon Sep 17 00:00:00 2001 From: orignal Date: Tue, 12 Nov 2019 10:03:33 -0500 Subject: [PATCH] mark RI as unreachable if all connections failed --- libi2pd/Transports.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libi2pd/Transports.cpp b/libi2pd/Transports.cpp index 34a28fb8..42a605a4 100644 --- a/libi2pd/Transports.cpp +++ b/libi2pd/Transports.cpp @@ -465,6 +465,7 @@ namespace transport } } LogPrint (eLogInfo, "Transports: No NTCP or SSU addresses available"); + i2p::data::netdb.SetUnreachable (ident, true); // we are here because all connection attempts failed peer.Done (); std::unique_lock l(m_PeersMutex); m_Peers.erase (ident);