mirror of
https://github.com/nmap/nmap.git
synced 2026-08-03 22:29:06 +00:00
changed the extractAttribute function to be case insensitive when retrieving
attributes.
This commit is contained in:
parent
e7a185eeea
commit
937b2df7dd
1 changed files with 1 additions and 1 deletions
|
|
@ -465,7 +465,7 @@ function extractAttribute( searchEntries, attributeName )
|
|||
for _, attrib in ipairs( v.attributes ) do
|
||||
local attribType = attrib[1]
|
||||
for i=2, #attrib do
|
||||
if attribType == attributeName then
|
||||
if ( attribType:upper() == attributeName:upper() ) then
|
||||
table.insert( attributeTbl, attrib[i])
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue