mirror of
https://github.com/nmap/nmap.git
synced 2026-01-05 22:19:03 +00:00
o [NSE] Fixed a bunch of global access errors in various libraries reported by
the nse_check_globals script. [Patrik]
This commit is contained in:
@@ -137,7 +137,7 @@ IAX2 = {
|
||||
-- @param key number containing the element number to retrieve
|
||||
-- @return ie table containing the info element if it exists
|
||||
getIE = function(self, key)
|
||||
for _, ie in ipairs(r.ies or {}) do
|
||||
for _, ie in ipairs(self.ies or {}) do
|
||||
if ( key == ie.type ) then
|
||||
return ie
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user