mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Unified nDPI struct across interfaces
This commit is contained in:
parent
74a0ce0da9
commit
1fb32a0795
6 changed files with 252 additions and 52 deletions
|
|
@ -681,6 +681,8 @@ function lists_utils.checkReloadLists()
|
|||
-- print("[DEBUG] Checking reload [") if(reload_now) then print("reload now") else print("don't reload") end print("] !!!!\n")
|
||||
|
||||
if reload_now then
|
||||
-- print("[DEBUG] **** Reloading ****\n")
|
||||
|
||||
if reloadListsNow() then
|
||||
-- print("[DEBUG] Success !!!!\n")
|
||||
-- success
|
||||
|
|
@ -690,6 +692,8 @@ function lists_utils.checkReloadLists()
|
|||
-- Remember to load the lists next time
|
||||
ntop.setCache("ntopng.cache.reload_lists_utils", "1")
|
||||
end
|
||||
|
||||
-- print("[DEBUG] **** Reloading is over ****\n")
|
||||
else
|
||||
-- Possibly clean up old nDPI memory
|
||||
ntop.cleanOldCategories()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue