mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
fixed invalid nindex detection, other improvements
This commit is contained in:
parent
49a5817fa6
commit
963c4bb721
5 changed files with 44 additions and 6 deletions
|
|
@ -742,7 +742,10 @@ function hasNindexSupport()
|
|||
if prefs == nil then
|
||||
prefs = ntop.getPrefs()
|
||||
end
|
||||
return prefs.is_nindex_enabled
|
||||
local rc = prefs.is_nindex_enabled
|
||||
|
||||
if(rc == nil) then rc = false end
|
||||
return rc
|
||||
end
|
||||
|
||||
--for _key, _value in pairsByKeys(vals, rev) do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue