mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-10 00:00:29 +03:00
don't reply with unreachable router
This commit is contained in:
parent
4f3a416e37
commit
532a29b0c4
@ -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…
Reference in New Issue
Block a user