mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 00:40:10 +00:00
Added network discovery icon to the main page (#6218)
This commit is contained in:
parent
4406d3fe4a
commit
7f40147cf5
4 changed files with 15 additions and 3 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue