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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user