Browse Source

don't reply with unreachable router

pull/1879/head
orignal 1 year ago
parent
commit
532a29b0c4
  1. 2
      libi2pd/NetDb.cpp

2
libi2pd/NetDb.cpp

@ -1040,7 +1040,7 @@ namespace data @@ -1040,7 +1040,7 @@ namespace data
lookupType == DATABASE_LOOKUP_TYPE_NORMAL_LOOKUP)
{
auto router = FindRouter (ident);
if (router)
if (router && !router->IsUnreachable ())
{
LogPrint (eLogDebug, "NetDb: Requested RouterInfo ", key, " found");
PopulateRouterInfoBuffer (router);

Loading…
Cancel
Save