1
0
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:
kris
2010-01-25 01:52:37 +00:00
parent d1e4ae6dc7
commit c9e68798c9
2 changed files with 3 additions and 2 deletions

View File

@@ -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 */