mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
fixed bug in snma.lua: fetchResponseValues(): wrong "local" when decoding
This commit is contained in:
parent
7c4db4f2ee
commit
d6066bb332
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue