mirror of
https://github.com/nmap/nmap.git
synced 2025-12-27 18:09:01 +00:00
Updating ip_is_reserved(): 001/8 and 027/8 allocated
This commit is contained in:
2
nmap.cc
2
nmap.cc
@@ -348,14 +348,12 @@ static int ip_is_reserved(struct in_addr *ip)
|
||||
switch (i1)
|
||||
{
|
||||
case 0: /* 000/8 is IANA reserved */
|
||||
case 1: /* 001/8 is IANA reserved */
|
||||
case 5: /* 005/8 is IANA reserved */
|
||||
case 6: /* USA Army ISC */
|
||||
case 7: /* used for BGP protocol */
|
||||
case 10: /* the infamous 10.0.0.0/8 */
|
||||
case 14: /* 014/8 is IANA reserved */
|
||||
case 23: /* 023/8 is IANA reserved */
|
||||
case 27: /* 027/8 is IANA reserved */
|
||||
case 31: /* 031/8 is IANA reserved */
|
||||
case 36: /* 036/8 is IANA reserved */
|
||||
case 37: /* 037/8 is IANA reserved */
|
||||
|
||||
Reference in New Issue
Block a user