mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Updating ip_is_reserved(): 112/8 and 113/8 were allocated to APNIC
This commit is contained in:
parent
51c92104fd
commit
ca5848efdb
2 changed files with 5 additions and 2 deletions
4
nmap.cc
4
nmap.cc
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue