Fixes interface selection causing view flows not refreshed

This commit is contained in:
Simone Mainardi 2021-07-14 11:33:20 +02:00
parent 111ff3cfd7
commit 83ee68f19b
6 changed files with 12 additions and 8 deletions

View file

@ -20,6 +20,12 @@ sendHTTPContentTypeHeader('application/json')
local debug = false
local debug_process = false -- Show flow processed information
local ifid = _GET["ifid"]
if not isEmptyString(ifid) then
interface.select(ifid)
end
local ifstats = interface.getStats()
local delta_cache = "ntopng.interface_filtered_traffic_" .. ifstats.id