mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
added client_policy_/server_policy_ to lint, public discover.sortedDeviceTypeLabels
This commit is contained in:
parent
ca8443ecf7
commit
d5ac31ee4c
2 changed files with 4 additions and 2 deletions
|
|
@ -197,7 +197,7 @@ end
|
|||
|
||||
-- ################################################################################
|
||||
|
||||
local function sortedDeviceTypeLabels()
|
||||
function discover.sortedDeviceTypeLabels()
|
||||
return pairsByValues(id2label, device_label_sort_fn)
|
||||
end
|
||||
|
||||
|
|
@ -284,7 +284,7 @@ end
|
|||
function discover.printDeviceTypeSelectorOptions(device_type)
|
||||
device_type = tonumber(device_type)
|
||||
|
||||
for typeid, info in sortedDeviceTypeLabels() do
|
||||
for typeid, info in discover.sortedDeviceTypeLabels() do
|
||||
local devtype = info[1]
|
||||
local label = info[2]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue