mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
add select severity to user scripts (#4919)
This commit is contained in:
parent
936911dc52
commit
26de36685a
3 changed files with 72 additions and 36 deletions
|
|
@ -1023,6 +1023,8 @@ function user_scripts.updateScriptConfig(confid, script_key, subdir, new_config,
|
|||
|
||||
if(script) then
|
||||
|
||||
tprint(script)
|
||||
|
||||
-- Try to validate the configuration
|
||||
for hook, conf in pairs(new_config) do
|
||||
local valid = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue