Cosmetic SNMP trap changes

This commit is contained in:
Luca Deri 2024-07-01 19:36:37 +02:00
parent 8b159c5dbd
commit a4e0de43e6
3 changed files with 16 additions and 6 deletions

View file

@ -1932,13 +1932,15 @@ if auth.has_capability(auth.capabilities.preferences) then
min = 1,
max = 10
})
prefsToggleButton(subpage_active, {
field = "toggle_snmp_trap",
default = "0",
pref = "toggle_snmp_trap"
})
if(ntop.isEnterpriseXL()) then
prefsToggleButton(subpage_active, {
field = "toggle_snmp_trap",
default = "0",
pref = "toggle_snmp_trap"
})
end
prefsToggleButton(subpage_active, {
field = "toggle_snmp_debug",
default = "0",