Browse Source

connect to reachable introducers only

pull/1754/head
orignal 3 years ago
parent
commit
da3f3ccac9
  1. 2
      libi2pd/SSU2.cpp

2
libi2pd/SSU2.cpp

@ -1949,7 +1949,7 @@ namespace transport @@ -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;

Loading…
Cancel
Save