mirror of
https://github.com/nmap/nmap.git
synced 2025-12-15 20:29: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:
@@ -23,7 +23,7 @@ categories = {"discovery", "intrusive"}
|
||||
-- okay, we're interested only in hosts that are on our ethernet lan
|
||||
hostrule = function(host)
|
||||
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
|
||||
if host.directly_connected == true and
|
||||
|
||||
Reference in New Issue
Block a user