mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Removed no more used code
This commit is contained in:
parent
a80db75d32
commit
06d38b586c
1 changed files with 2 additions and 12 deletions
|
|
@ -677,6 +677,8 @@ function loadnDPIExceptions()
|
|||
end
|
||||
end
|
||||
|
||||
-- TODO: create an host alert if a local host is inside a blacklist
|
||||
|
||||
-- ##############################################
|
||||
|
||||
-- NOTE: this must be executed in the same thread as checkListsUpdate
|
||||
|
|
@ -746,18 +748,6 @@ local function reloadListsNow()
|
|||
-- update lists state
|
||||
saveListsStatusToRedis(lists, "reloadListsNow")
|
||||
|
||||
-- Load user-customized categories
|
||||
for category_id, hosts in pairs(user_custom_categories) do
|
||||
for _, host in ipairs(hosts) do
|
||||
if ntop.isShuttingDown() then
|
||||
break
|
||||
end
|
||||
loadListItem(host, category_id, user_custom_categories, {
|
||||
name = "__gui__"
|
||||
} --[[ No list --]] , 0 --[[ No line number --]] )
|
||||
end
|
||||
end
|
||||
|
||||
-- Reload into memory
|
||||
ntop.finalizenDPIReload()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue