mirror of
https://github.com/nmap/nmap.git
synced 2025-12-31 11:59:03 +00:00
stdnse.print_debug -> stdnse.debug1
$ sed -i 's/stdnse.print_debug("%s \([^"]*\)", SCRIPT_NAME/stdnse.debug1("\1"/' *.nse
This commit is contained in:
@@ -43,7 +43,7 @@ prerule = function()
|
||||
end
|
||||
|
||||
if nmap.address_family() ~= 'inet6' then
|
||||
stdnse.print_debug("%s is IPv6 compatible only.", SCRIPT_NAME)
|
||||
stdnse.debug1("is IPv6 compatible only.")
|
||||
return false
|
||||
end
|
||||
return true
|
||||
|
||||
Reference in New Issue
Block a user