mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 16:30:10 +00:00
Added check redis pref for asn mode enabled (#9451)
This commit is contained in:
parent
b9933b49e2
commit
9c6247ac8d
3 changed files with 13 additions and 6 deletions
|
|
@ -10,6 +10,8 @@ require "label_utils"
|
|||
require "http_lint"
|
||||
require "lua_utils_get"
|
||||
require "flow_utils"
|
||||
require "check_redis_prefs"
|
||||
|
||||
local tcp_flow_state_utils = require("tcp_flow_state_utils")
|
||||
local format_utils = require "format_utils"
|
||||
local alert_consts = require "alert_consts"
|
||||
|
|
@ -298,7 +300,10 @@ rsp[#rsp + 1] = {
|
|||
}
|
||||
|
||||
-- QOE filters
|
||||
if ntop.isEnterpriseL then
|
||||
-- If ASN Mode is enabled remove QOE from filter as it is not present in the live flows table
|
||||
local isASNModeEnabled = isASNModeEnabled()
|
||||
|
||||
if ntop.isEnterpriseL() and (not isASNModeEnabled) then
|
||||
local qoe_filters = {{key = "qoe", value = "", label = i18n("all")}}
|
||||
|
||||
if flowstats["qoe"] then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue