reverted fix in 1435

This commit is contained in:
Arvid Norberg 2007-08-08 21:02:35 +00:00
parent 2a9d68376d
commit b626bd96d5
1 changed files with 1 additions and 1 deletions

View File

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