From d4ddc416b374ec379870332b0d6829388f46ffac Mon Sep 17 00:00:00 2001 From: Andrei Kurushin Date: Fri, 2 Aug 2019 10:28:54 +0300 Subject: [PATCH] backport RC_1_2: unban 51.x.x.x from dht darknet list --- src/kademlia/dht_tracker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kademlia/dht_tracker.cpp b/src/kademlia/dht_tracker.cpp index b9a6808c3..e445cf77d 100644 --- a/src/kademlia/dht_tracker.cpp +++ b/src/kademlia/dht_tracker.cpp @@ -525,7 +525,7 @@ namespace libtorrent { namespace dht { // these are class A networks not available to the public // if we receive messages from here, that seems suspicious static std::uint8_t const class_a[] = { 3, 6, 7, 9, 11, 19, 21, 22, 25 - , 26, 28, 29, 30, 33, 34, 48, 51, 56 }; + , 26, 28, 29, 30, 33, 34, 48, 56 }; if (std::find(std::begin(class_a), std::end(class_a), b[0]) != std::end(class_a)) {