mirror of
https://github.com/nmap/nmap.git
synced 2026-01-07 06:59:03 +00:00
Prevent ipv6-node-info from producing empty output.
This commit is contained in:
@@ -286,6 +286,9 @@ local function handle_received_packet(buf)
|
||||
end
|
||||
|
||||
local function format_results(results)
|
||||
if empty(results) then
|
||||
return nil
|
||||
end
|
||||
local QTYPE_ORDER = {
|
||||
QTYPE_NOOP,
|
||||
QTYPE_NODENAME,
|
||||
|
||||
Reference in New Issue
Block a user