From da3f3ccac9d8ebca40534323b0889d91f648562b Mon Sep 17 00:00:00 2001 From: orignal Date: Fri, 6 May 2022 19:38:48 -0400 Subject: [PATCH] connect to reachable introducers only --- libi2pd/SSU2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libi2pd/SSU2.cpp b/libi2pd/SSU2.cpp index 2b4c2527..231333ca 100644 --- a/libi2pd/SSU2.cpp +++ b/libi2pd/SSU2.cpp @@ -1949,7 +1949,7 @@ namespace transport for (auto& it: address->ssu->introducers) { r = i2p::data::netdb.FindRouter (it.iKey); - if (r) + if (r && r->IsReachableFrom (i2p::context.GetRouterInfo ())) { relayTag = it.iTag; if (relayTag) break;