mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Do not return empty table as a result. Close #3325.
This commit is contained in:
parent
577fb8120a
commit
407dd3d928
1 changed files with 5 additions and 0 deletions
|
|
@ -282,6 +282,11 @@ action = function()
|
|||
end
|
||||
until next(threads) == nil
|
||||
|
||||
if not next(lltd_responders) then
|
||||
-- nothing was discovered
|
||||
return
|
||||
end
|
||||
|
||||
if target.ALLOW_NEW_TARGETS then
|
||||
local addrtype = nmap.address_family() == "inet" and "ipv4" or "ipv6"
|
||||
for key, info in pairs(lltd_responders) do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue