1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-10 17:59:04 +00:00

updating ip_is_reserved(): 36/8 and 42/8 allocated

This commit is contained in:
kris
2010-10-19 19:55:03 +00:00
parent 894d5143bf
commit 5e9277cc3a

View File

@@ -412,10 +412,8 @@ int ip_is_reserved(struct in_addr *ip)
case 7: /* used for BGP protocol */ case 7: /* used for BGP protocol */
case 10: /* the infamous 10.0.0.0/8 */ case 10: /* the infamous 10.0.0.0/8 */
case 23: /* 023/8 is IANA reserved */ case 23: /* 023/8 is IANA reserved */
case 36: /* 036/8 is IANA reserved */
case 37: /* 037/8 is IANA reserved */ case 37: /* 037/8 is IANA reserved */
case 39: /* 039/8 is IANA reserved */ case 39: /* 039/8 is IANA reserved */
case 42: /* 042/8 is IANA reserved */
case 55: /* misc. U.S.A. Armed forces */ case 55: /* misc. U.S.A. Armed forces */
case 100: /* 100/8 is IANA reserved */ case 100: /* 100/8 is IANA reserved */
case 127: /* 127/8 is reserved for loopback */ case 127: /* 127/8 is reserved for loopback */