diff --git a/nselib/snmp.lua b/nselib/snmp.lua index 130df175b..112d87a80 100644 --- a/nselib/snmp.lua +++ b/nselib/snmp.lua @@ -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