From 4f3333c841543a9ef00888b5a111cfb8b4a651ef Mon Sep 17 00:00:00 2001 From: orignal Date: Sat, 3 Apr 2021 19:24:07 -0400 Subject: [PATCH] don't check range ffor unspecified address --- libi2pd/util.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libi2pd/util.cpp b/libi2pd/util.cpp index e75b7c19..69fc366a 100644 --- a/libi2pd/util.cpp +++ b/libi2pd/util.cpp @@ -524,6 +524,7 @@ namespace net bool IsInReservedRange (const boost::asio::ip::address& host) { // https://en.wikipedia.org/wiki/Reserved_IP_addresses + if (host.is_unspecified ()) return false; if(host.is_v4()) { static const std::vector< std::pair > reservedIPv4Ranges {