mirror of
https://github.com/nmap/nmap.git
synced 2025-12-10 09:49:05 +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:
@@ -587,7 +587,7 @@ Response = {
|
||||
if ( self.data ) then
|
||||
local len = #self.data - pos
|
||||
if ( ( #self.data - pos ) ~= ( self.length - 33 ) ) then
|
||||
stdnse.print_debug("NCP packet length mismatched")
|
||||
stdnse.debug1("NCP packet length mismatched")
|
||||
return
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user