Supports flow_db_utils to handle both nIndex and Clickhouse

This commit is contained in:
Simone Mainardi 2021-10-21 16:38:39 +02:00
parent d141115b96
commit 13701fdc2c
4 changed files with 9 additions and 9 deletions

View file

@ -14,8 +14,8 @@ sendHTTPContentTypeHeader('text/html')
page_utils.print_header(i18n("about.about_x", { product=info.product }))
if ntop.isEnterpriseM() and hasNindexSupport() then
local nindex_utils = require "nindex_utils"
nindex_utils.deleteOldFLows(true --[[ verbose ]])
local flow_db_utils = require "flow_db_utils"
flow_db_utils.deleteOldFLows(true --[[ verbose ]])
else
print("nIndex delete unsupported")
end