1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-03 13:19:04 +00:00

Updating ip_is_reserved(): 112/8 and 113/8 were allocated to APNIC

This commit is contained in:
kris
2008-05-27 18:31:26 +00:00
parent 51c92104fd
commit ca5848efdb
2 changed files with 5 additions and 2 deletions

View File

@@ -380,8 +380,8 @@ static int ip_is_reserved(struct in_addr *ip)
break;
}
/* 100-113/8 is IANA reserved */
if (i1 >= 100 && i1 <= 113)
/* 100-111/8 is IANA reserved */
if (i1 >= 100 && i1 <= 111)
return 1;
/* 172.16.0.0/12 is reserved for private nets by RFC1819 */