mirror of
https://github.com/nmap/nmap.git
synced 2025-12-24 08:29:04 +00:00
Spelling fixes for Lua files
Mostly in documentation/comments, but a couple code bugs were caught, including a call to stdnse.pirnt_debug and a mis-declared variable.
This commit is contained in:
@@ -81,7 +81,7 @@ local tagDecoder = {}
|
||||
-- IP Address
|
||||
|
||||
-- Response-PDU
|
||||
-- TOOD: Figure out how to remove these dependancies
|
||||
-- TOOD: Figure out how to remove these dependencies
|
||||
tagDecoder["A2"] = function( self, encStr, elen, pos )
|
||||
local seq = {}
|
||||
|
||||
@@ -483,7 +483,7 @@ function snmpWalk( socket, base_oid )
|
||||
|
||||
status, response = socket:receive_bytes(1)
|
||||
if ( not( status ) ) then
|
||||
-- Unless we don't have a usefull error message, don't report it
|
||||
-- Unless we have a useful error message, don't report it
|
||||
if ( response ~= "ERROR" ) then
|
||||
stdnse.print_debug("snmp.snmpWalk: Received no answer (%s)", response)
|
||||
return false, response
|
||||
|
||||
Reference in New Issue
Block a user