mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 00:40:10 +00:00
Add check to avoid nil config
This commit is contained in:
parent
f8d09f7387
commit
c791fc1246
1 changed files with 1 additions and 1 deletions
|
|
@ -354,7 +354,7 @@ local function call_modules(deadline, l4_proto, master_id, app_id, mod_fn, updat
|
|||
local conf = user_scripts.getTargetHookConfig(flows_config, script)
|
||||
|
||||
cur_user_script = script
|
||||
hook_fn(now, conf.script_conf)
|
||||
hook_fn(now, conf.script_conf or {})
|
||||
|
||||
::continue::
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue