mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
[VS] Fix ports columns and minors.
This commit is contained in:
parent
c3766e954c
commit
785ed11967
6 changed files with 25 additions and 25 deletions
|
|
@ -392,6 +392,10 @@ function vs_utils.save_host_to_scan(scan_type, host, scan_result, last_scan_time
|
|||
new_item.udp_ports = #udp_ports
|
||||
end
|
||||
|
||||
if (udp_ports == nil and tcp_ports == nil) then
|
||||
new_item.tcp_ports = num_open_ports
|
||||
end
|
||||
|
||||
if last_scan_time or last_duration then
|
||||
local time_formatted = format_utils.formatPastEpochShort(last_scan_time)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue