mirror of
https://github.com/nmap/nmap.git
synced 2026-01-20 13:19:01 +00:00
Changed 'pairs' to 'ipairs' when looping through the header (thanks to Patrick for pointing this out)
This commit is contained in:
@@ -82,7 +82,7 @@ action = function(host, port)
|
||||
end
|
||||
|
||||
local response = "(" .. request_type .. " used)\n"
|
||||
for _, header in pairs(result.rawheader) do
|
||||
for _, header in ipairs(result.rawheader) do
|
||||
response = response .. header .. "\n"
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user