forked from premiere/premiere-libtorrent
reverted fix in 1435
This commit is contained in:
parent
2a9d68376d
commit
b626bd96d5
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue