mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Prevent ipv6-node-info from producing empty output.
This commit is contained in:
parent
5036487eaf
commit
c10597a7b4
1 changed files with 3 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue