reverted fix in 1435
This commit is contained in:
@@ -62,7 +62,7 @@ namespace libtorrent
|
||||
{
|
||||
if (a.is_v6()) return false;
|
||||
address_v4 a4 = a.to_v4();
|
||||
unsigned long ip = htonl(a4.to_ulong());
|
||||
unsigned long ip = a4.to_ulong();
|
||||
return ((ip & 0xff000000) == 0x0a000000
|
||||
|| (ip & 0xfff00000) == 0xac100000
|
||||
|| (ip & 0xffff0000) == 0xc0a80000);
|
||||
|
Reference in New Issue
Block a user