don't reply with unreachable router

This commit is contained in:
orignal 2023-02-13 19:18:02 -05:00
parent 4f3a416e37
commit 532a29b0c4

View File

@ -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);