mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Add offline check setting up lists
This commit is contained in:
parent
835f57ac3c
commit
c8f879ee0c
1 changed files with 5 additions and 0 deletions
|
|
@ -782,6 +782,11 @@ end
|
|||
-- ##############################################
|
||||
|
||||
function lists_utils.startup()
|
||||
if ntop.isOffline() then
|
||||
traceError(TRACE_NORMAL, TRACE_CONSOLE, "Category lists not loaded (offline)")
|
||||
return
|
||||
end
|
||||
|
||||
traceError(TRACE_NORMAL, TRACE_CONSOLE, "Refreshing category lists...")
|
||||
|
||||
lists_utils.downloadLists()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue