From 532a29b0c41f8730330a1a8aa3ff342a0c5a9fc9 Mon Sep 17 00:00:00 2001 From: orignal Date: Mon, 13 Feb 2023 19:18:02 -0500 Subject: [PATCH] don't reply with unreachable router --- libi2pd/NetDb.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libi2pd/NetDb.cpp b/libi2pd/NetDb.cpp index 153553a3..694eb7c4 100644 --- a/libi2pd/NetDb.cpp +++ b/libi2pd/NetDb.cpp @@ -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);