mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Implements #4405
This commit is contained in:
parent
3e4b54cffb
commit
d3854b69fa
3 changed files with 15 additions and 3 deletions
|
|
@ -283,6 +283,12 @@ local function validateMode(mode)
|
|||
return validateChoice(modes, mode)
|
||||
end
|
||||
|
||||
local function validateDashboardMode(mode)
|
||||
local modes = {"community", "pro", "enterprise" }
|
||||
|
||||
return validateChoice(modes, mode)
|
||||
end
|
||||
|
||||
local function validateOperator(mode)
|
||||
local modes = {"gt", "eq", "lt"}
|
||||
|
||||
|
|
@ -1352,6 +1358,7 @@ local known_parameters = {
|
|||
["ifid"] = validateInterface, -- An ntopng interface ID
|
||||
["iffilter"] = validateIfFilter, -- An interface ID or 'all'
|
||||
["mode"] = validateMode, -- Remote or Local users
|
||||
["dashboard_mode"] = validateDashboardMode, -- Dashboard mode
|
||||
["device_responsiveness"] = validateDeviceResponsiveness, -- Device responsiveness
|
||||
["counters_since"] = validateCounterSince, -- Select actual or absolute counters
|
||||
["err_counters_filter"] = validateErrorsFilter, -- Filter by errrrs, discards, both
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue