mirror of
https://github.com/nmap/nmap.git
synced 2025-12-16 20:59:02 +00:00
Avoid blank output from broadcast-dhcp-discover
This commit is contained in:
@@ -214,6 +214,10 @@ action = function()
|
|||||||
end
|
end
|
||||||
until next(threads) == nil
|
until next(threads) == nil
|
||||||
|
|
||||||
|
if not next(result) then
|
||||||
|
return nil
|
||||||
|
end
|
||||||
|
|
||||||
local response = stdnse.output_table()
|
local response = stdnse.output_table()
|
||||||
-- Display the results
|
-- Display the results
|
||||||
for i, r in ipairs(result) do
|
for i, r in ipairs(result) do
|
||||||
|
|||||||
Reference in New Issue
Block a user