1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-07 13:11:28 +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:31:04 +00:00
parent 5161b8642a
commit c94d5970ff
21 changed files with 46 additions and 46 deletions

View File

@@ -74,7 +74,7 @@ local llmnrSend = function(query, mcast, mport)
local sock = nmap.new_socket()
local status, err = sock:connect(mcast, mport, "udp")
if not status then
stdnse.print_debug("%s: %s", SCRIPT_NAME, err)
stdnse.debug1("%s", err)
return
end
sock:send(query)