mirror of
https://github.com/nmap/nmap.git
synced 2025-12-25 17:09:02 +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:
@@ -73,7 +73,7 @@ categories = {"discovery", "safe"}
|
||||
-- We want to run against a specific host if UDP/67 is open
|
||||
function portrule(host, port)
|
||||
if nmap.address_family() ~= 'inet' then
|
||||
stdnse.print_debug("%s is IPv4 compatible only.", SCRIPT_NAME)
|
||||
stdnse.debug1("is IPv4 compatible only.")
|
||||
return false
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user