mirror of
https://github.com/nmap/nmap.git
synced 2026-06-25 18:48:19 +00:00
Changed erroneous RFC1918 Private Address assignment from 172.15/12 to 172.15/12. My bad.
This commit is contained in:
parent
19117c80be
commit
a9c5d3391c
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue