1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00

Note some future IPv6 possibilities

This commit is contained in:
dmiller
2024-05-21 18:49:38 +00:00
parent 41ec64ab14
commit 8dfa9aef41
2 changed files with 2 additions and 0 deletions

View File

@@ -74,6 +74,7 @@ license = "Same as Nmap--See https://nmap.org/book/man-legal.html"
categories = {"discovery", "broadcast", "safe"} categories = {"discovery", "broadcast", "safe"}
prerule = function() prerule = function()
-- TODO: EIGRP for IPv6 uses ff02::10
if nmap.address_family() ~= 'inet' then if nmap.address_family() ~= 'inet' then
stdnse.verbose1("is IPv4 only.") stdnse.verbose1("is IPv4 only.")
return false return false

View File

@@ -40,6 +40,7 @@ license = "Same as Nmap--See https://nmap.org/book/man-legal.html"
categories = {"discovery", "safe", "broadcast"} categories = {"discovery", "safe", "broadcast"}
prerule = function() prerule = function()
-- TODO: IPv6 is supported by PIM-SM
if nmap.address_family() ~= 'inet' then if nmap.address_family() ~= 'inet' then
stdnse.verbose1("is IPv4 only.") stdnse.verbose1("is IPv4 only.")
return false return false