mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 08:14:15 +00:00
connect to reachable introducers only
This commit is contained in:
parent
1a1871e8cd
commit
da3f3ccac9
@ -1949,7 +1949,7 @@ namespace transport
|
|||||||
for (auto& it: address->ssu->introducers)
|
for (auto& it: address->ssu->introducers)
|
||||||
{
|
{
|
||||||
r = i2p::data::netdb.FindRouter (it.iKey);
|
r = i2p::data::netdb.FindRouter (it.iKey);
|
||||||
if (r)
|
if (r && r->IsReachableFrom (i2p::context.GetRouterInfo ()))
|
||||||
{
|
{
|
||||||
relayTag = it.iTag;
|
relayTag = it.iTag;
|
||||||
if (relayTag) break;
|
if (relayTag) break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user