Added network discovery icon to the main page (#6218)

This commit is contained in:
Matteo Biscosi 2022-01-19 11:17:34 +01:00
parent 4406d3fe4a
commit 7f40147cf5
4 changed files with 15 additions and 3 deletions

View file

@ -56,7 +56,9 @@ for i=1,num_runs do
local diff = now % tonumber(discovery_interval)
if diff < 5 then
callback_utils.foreachInterface(ifnames, periodic_discovery_condition, discovery_function)
ntop.setPref("ntopng.prefs.is_periodic_network_discovery_running", "1")
callback_utils.foreachInterface(ifnames, periodic_discovery_condition, discovery_function)
ntop.setPref("ntopng.prefs.is_periodic_network_discovery_running", "0")
end
end