1
0
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:
pgpickering
2008-08-02 10:40:03 +00:00
parent 7c4db4f2ee
commit d6066bb332

View File

@@ -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