1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-02 04:49:02 +00:00

Get more than one address. Fixes #1114. Closes #1115

This commit is contained in:
dmiller
2018-03-09 06:26:46 +00:00
parent 4ef8fcc363
commit 8d46f720a5
3 changed files with 18 additions and 5 deletions

View File

@@ -63,7 +63,7 @@ action = function(host, port)
local response = tab.new(2)
tab.addrow(response, "ip", "timestamp")
for _, node in ipairs(nodes.addresses or {}) do
for _, node in ipairs(nodes or {}) do
if ( target.ALLOW_NEW_TARGETS ) then
target.add(node.address.host)
end