mirror of
https://github.com/nmap/nmap.git
synced 2025-12-26 17:39:03 +00:00
nselib stdnse.print_debug -> stdnse.debug
$ f() { find -name \*.lua -exec /bin/echo sed -i "$1" {} \; ; }
$ f 's/stdnse.print_debug( *\([0-9]*\) *, */stdnse.debug\1(/'
$ f 's/stdnse.print_debug( *"\(.*\))/stdnse.debug1("\1)/'
This commit is contained in:
@@ -233,7 +233,7 @@ Comm = {
|
||||
|
||||
-- check to see if the IP address returned matches the IP address we scanned
|
||||
if xhost ~= self.host.ip then
|
||||
stdnse.print_debug("IP addresses did not match! Found %s, using %s instead.", xhost, self.host.ip)
|
||||
stdnse.debug1("IP addresses did not match! Found %s, using %s instead.", xhost, self.host.ip)
|
||||
xhost = self.host.ip
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user