Restricted top flow chart for community version

This commit is contained in:
Matteo Biscosi 2023-09-26 08:23:35 +00:00
parent 41925ea21d
commit 96af8aa162

View file

@ -35,6 +35,11 @@ local peers = getTopFlowPeers(tracked_host, max_num_peers, true --[[ high detail
local is_pcap_dump = interface.isPcapDumpInterface()
local debug = false
-- In community version, due to dimension problems, restricting to 16 links
if not ntop.isPro() then
max_num_links = 16
end
-- 1. compute total traffic
local total_traffic = 0