diff --git a/scripts/broadcast-dhcp-discover.nse b/scripts/broadcast-dhcp-discover.nse index a73178f94..864b5c4ab 100644 --- a/scripts/broadcast-dhcp-discover.nse +++ b/scripts/broadcast-dhcp-discover.nse @@ -214,6 +214,10 @@ action = function() end until next(threads) == nil + if not next(result) then + return nil + end + local response = stdnse.output_table() -- Display the results for i, r in ipairs(result) do