connect to reachable introducers only

This commit is contained in:
orignal 2022-05-06 19:38:48 -04:00
parent 1a1871e8cd
commit da3f3ccac9

View file

@ -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;