mirror of
https://github.com/nmap/nmap.git
synced 2026-02-10 23:46:34 +00:00
Use stdnse.print_debug instead of log_write. Patch by Henri Doreau.
This commit is contained in:
@@ -30,6 +30,7 @@ categories = {"safe", "discovery"}
|
||||
|
||||
require 'bin'
|
||||
require 'packet'
|
||||
require 'stdnse'
|
||||
|
||||
local NUMPROBES = 6
|
||||
|
||||
@@ -193,7 +194,7 @@ hostrule = function(host)
|
||||
end
|
||||
nmap.registry['ipidseq']['rootfail'] = true
|
||||
if nmap.verbosity() > 0 then
|
||||
nmap.log_write("stdout", "IPIDSEQ: not running for lack of privileges")
|
||||
stdnse.print_debug("%s not running for lack of privileges.", SCRIPT_NAME)
|
||||
end
|
||||
return false
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user