backport RC_1_2: unban 51.x.x.x from dht darknet list

This commit is contained in:
Andrei Kurushin 2019-08-02 10:28:54 +03:00 committed by Arvid Norberg
parent 03ffc04e39
commit d4ddc416b3
1 changed files with 1 additions and 1 deletions

View File

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