mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Reworks discovery activities
This commit is contained in:
parent
c96d5af143
commit
c4123d33d8
5 changed files with 38 additions and 52 deletions
|
|
@ -707,12 +707,12 @@ function printNetworkDiscovery()
|
|||
prefsToggleButton({
|
||||
field = "toggle_network_discovery",
|
||||
default = "0",
|
||||
pref = "is_network_discovery_enabled",
|
||||
pref = "is_periodic_network_discovery_enabled",
|
||||
to_switch = elementToSwitch,
|
||||
})
|
||||
|
||||
local showNetworkDiscoveryInterval = false
|
||||
if ntop.getPref("ntopng.prefs.is_network_discovery_enabled") == "1" then
|
||||
if ntop.getPref("ntopng.prefs.is_periodic_network_discovery_enabled") == "1" then
|
||||
showNetworkDiscoveryInterval = true
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue