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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user