1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-26 01:19:03 +00:00

Changed erroneous RFC1918 Private Address assignment from 172.15/12 to 172.15/12. My bad.

This commit is contained in:
jah
2010-04-11 23:38:06 +00:00
parent 19117c80be
commit a9c5d3391c

View File

@@ -37,7 +37,7 @@ isPrivate = function( ip )
ip, err = expand_ip( ip )
if err then return nil, err end
local ipv4_private = { "10/8", "127/8", "169.254/16", "172.15/12", "192.168/16" }
local ipv4_private = { "10/8", "127/8", "169.254/16", "172.16/12", "192.168/16" }
local ipv6_private = { "::/127", "FC00::/7", "FE80::/10" }
local t, is_private = {}
if ip:match( ":" ) then