From e084894d7e6f61743c4b48da73c435c0445d4078 Mon Sep 17 00:00:00 2001 From: orignal Date: Sun, 8 Feb 2026 14:39:26 -0500 Subject: [PATCH] don't select random router with older version --- libi2pd/NetDb.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libi2pd/NetDb.cpp b/libi2pd/NetDb.cpp index 65ade555..c60fb7bc 100644 --- a/libi2pd/NetDb.cpp +++ b/libi2pd/NetDb.cpp @@ -1165,6 +1165,7 @@ namespace data return !router->IsHidden () && router != compatibleWith && (reverse ? (compatibleWith->IsReachableFrom (*router) && router->GetCompatibleTransports (true)): router->IsReachableFrom (*compatibleWith)) && !router->IsNAT2NATOnly (*compatibleWith) && + router->GetVersion () >= NETDB_MIN_ALLOWED_VERSION && router->IsECIES () && !router->IsHighCongestion (clientTunnel) && (!i2p::transport::transports.IsCheckReserved () || !router->IsSameSubnet (*compatibleWith)) && (!checkIsReal || router->GetProfile ()->IsReal ()) &&