mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Fixes nIndexEnabled nil access
This commit is contained in:
parent
448c5e288a
commit
a2a3aa7fc6
1 changed files with 1 additions and 1 deletions
|
|
@ -921,7 +921,7 @@ end
|
|||
|
||||
-- NOTE: global nindex support may be enabled but some disable on some interfaces
|
||||
function interfaceHasNindexSupport()
|
||||
return(hasNindexSupport() and (interface.nIndexEnabled() or ntop.getPrefs()["is_dump_flows_to_clickhouse_enabled"]))
|
||||
return(hasNindexSupport() and ((interface.nIndexEnabled and interface.nIndexEnabled()) or ntop.getPrefs()["is_dump_flows_to_clickhouse_enabled"]))
|
||||
end
|
||||
|
||||
--for _key, _value in pairsByKeys(vals, rev) do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue