don't reply with unreachable router

pull/1879/head
orignal 1 year ago
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…
Cancel
Save