mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Handles possibly missing nindex_utils as in Windows
This commit is contained in:
parent
9c5f4f8198
commit
8c9bf94f4b
4 changed files with 13 additions and 4 deletions
|
|
@ -747,6 +747,10 @@ function hasNagiosSupport()
|
|||
end
|
||||
|
||||
function hasNindexSupport()
|
||||
if not ntop.isEnterprise() or ntop.isWindows() then
|
||||
return false
|
||||
end
|
||||
|
||||
-- TODO optimize
|
||||
if prefs == nil then
|
||||
prefs = ntop.getPrefs()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue