mirror of
https://github.com/nmap/nmap.git
synced 2025-12-09 22:21:29 +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:
@@ -162,7 +162,7 @@ end
|
||||
--@return The string representing the address.
|
||||
fromdword = function( ip )
|
||||
if type( ip ) ~= "number" then
|
||||
stdnse.print_debug(1, "Error in ipOps.todword: Expected IPv4 address.")
|
||||
stdnse.debug1("Error in ipOps.todword: Expected IPv4 address.")
|
||||
return nil
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user