1
0
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:
patrik
2012-01-30 23:13:35 +00:00
parent 2ff581affa
commit af3734f41f
9 changed files with 19 additions and 16 deletions

View File

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