1
0
mirror of https://github.com/nmap/nmap.git synced 2026-02-09 06:56:35 +00:00

Updating ip_is_reserved(): 186/8 and 187/8 went to LACNIC

This commit is contained in:
kris
2007-10-09 13:22:41 +00:00
parent f1aee178ea
commit 0f7d4e49d8
2 changed files with 5 additions and 2 deletions

View File

@@ -387,8 +387,8 @@ static int ip_is_reserved(struct in_addr *ip)
if (i1 == 172 && i2 >= 16 && i2 <= 31)
return 1;
/* 173-187/8 is IANA reserved */
if (i1 >= 173 && i1 <= 187)
/* 173-185/8 is IANA reserved */
if (i1 >= 173 && i1 <= 185)
return 1;
/* 192.168.0.0/16 is reserved for private nets by RFC1819 */