1
0
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:
batrick
2014-08-01 21:35:56 +00:00
parent c94d5970ff
commit 2a8c81c4f6
19 changed files with 69 additions and 69 deletions

View File

@@ -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