mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Initial code cleanup for flow scripts
This commit is contained in:
parent
9910180137
commit
fc6f055137
4 changed files with 22 additions and 28 deletions
|
|
@ -348,7 +348,7 @@ function user_scripts.load(script_type, ifid, subdir, hook_filter, ignore_disabl
|
|||
-- no more hooks allowed
|
||||
break
|
||||
elseif(rv.hooks[hook] == nil) then
|
||||
traceError(TRACE_WARNING, TRACE_CONSOLE, string.format("Unkown hook '%s' in module '%s'", hook, check_module.key))
|
||||
traceError(TRACE_WARNING, TRACE_CONSOLE, string.format("Unknown hook '%s' in module '%s'", hook, check_module.key))
|
||||
else
|
||||
rv.hooks[hook][check_module.key] = hook_fn
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue