mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-05 02:16:39 +00:00
Various cosmetic fixes in host and flow pages
Service map is not reported when there are no services listed
This commit is contained in:
parent
cc2df1d66e
commit
9d232d614c
4 changed files with 24 additions and 18 deletions
|
|
@ -285,10 +285,11 @@ else
|
|||
local has_icmp = ((table.len(host["ICMPv4"]) + table.len(host["ICMPv6"])) ~= 0)
|
||||
|
||||
local periodicity_map = interface.periodicityMap(_GET["host"])
|
||||
local service_map = interface.serviceMap(_GET["host"])
|
||||
local periodicity_map_available = false
|
||||
local service_map_available = false
|
||||
|
||||
if(interface.serviceMap(_GET["host"]) ~= nil) then
|
||||
if(service_map and (table.len(service_map) > 0)) then
|
||||
service_map_available = true
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue