mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Adds http lint for the deletion of all SNMP devices
This commit is contained in:
parent
f691d4c442
commit
c61451cee3
2 changed files with 5 additions and 1 deletions
|
|
@ -367,7 +367,8 @@ local function validateUnassignedDevicesMode(mode)
|
|||
end
|
||||
|
||||
local function validateSnmpAction(mode)
|
||||
local modes = {"delete", "add", "addNewDevice", "startPolling", "stopPolling", "startPortMonitor", "stopPortMonitor"}
|
||||
local modes = {"delete", "delete_all", "add",
|
||||
"addNewDevice", "startPolling", "stopPolling", "startPortMonitor", "stopPortMonitor"}
|
||||
|
||||
return validateChoice(modes, mode)
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue