mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Add configsets targets labels
This commit is contained in:
parent
c665bc78d7
commit
fc0206327e
6 changed files with 45 additions and 6 deletions
|
|
@ -1029,6 +1029,18 @@ end
|
|||
|
||||
-- ##############################################
|
||||
|
||||
function user_scripts.getSubdirTargetType(search_subdir)
|
||||
for _, subdir in pairs(available_subdirs) do
|
||||
if(subdir.id == search_subdir) then
|
||||
return(subdir.target_type)
|
||||
end
|
||||
end
|
||||
|
||||
return "none"
|
||||
end
|
||||
|
||||
-- ##############################################
|
||||
|
||||
local function findConfigSet(configsets, name)
|
||||
for id, configset in pairs(configsets) do
|
||||
if(configset.name == name) then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue