mirror of
https://github.com/nmap/nmap.git
synced 2026-10-21 19:32:18 +00:00
updating ip_is_reserved(): 173/8 and 174/8 went to ARIN
This commit is contained in:
parent
11cbdfb24a
commit
477967e69b
1 changed files with 2 additions and 2 deletions
4
nmap.cc
4
nmap.cc
|
|
@ -387,8 +387,8 @@ static int ip_is_reserved(struct in_addr *ip)
|
|||
if (i1 == 172 && i2 >= 16 && i2 <= 31)
|
||||
return 1;
|
||||
|
||||
/* 173-185/8 is IANA reserved */
|
||||
if (i1 >= 173 && i1 <= 185)
|
||||
/* 175-185/8 is IANA reserved */
|
||||
if (i1 >= 175 && i1 <= 185)
|
||||
return 1;
|
||||
|
||||
/* 192.168.0.0/16 is reserved for private nets by RFC1819 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue