mirror of
https://github.com/nmap/nmap.git
synced 2025-12-15 12:19:02 +00:00
fixed bug in snma.lua: fetchResponseValues(): wrong "local" when decoding
This commit is contained in:
@@ -526,7 +526,8 @@ end
|
||||
--@result Table with all decoded responses and their OIDs
|
||||
function fetchResponseValues(resp)
|
||||
if (type(resp) == "string") then
|
||||
local _, resp = decode(resp)
|
||||
local _
|
||||
_, resp = decode(resp)
|
||||
end
|
||||
|
||||
if (type(resp) ~= "table") then
|
||||
|
||||
Reference in New Issue
Block a user