mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Implements traffic profile filter in the active flows page (#2598)
This commit is contained in:
parent
74824aa148
commit
0b5668be6d
8 changed files with 69 additions and 1 deletions
|
|
@ -50,6 +50,7 @@ local ipversion = _GET["version"]
|
|||
local traffic_type = _GET["traffic_type"]
|
||||
local flow_status = _GET["flow_status"]
|
||||
local tcp_state = _GET["tcp_flow_state"]
|
||||
local traffic_profile = _GET["traffic_profile"]
|
||||
|
||||
-- System host parameters
|
||||
local hosts = _GET["hosts"]
|
||||
|
|
@ -119,6 +120,10 @@ if category ~= nil and category ~= "" then
|
|||
pageinfo["l7categoryFilter"] = interface.getnDPICategoryId(category)
|
||||
end
|
||||
|
||||
if traffic_profile ~= nil then
|
||||
pageinfo["trafficProfileFilter"] = traffic_profile
|
||||
end
|
||||
|
||||
if not isEmptyString(flowhosts_type) then
|
||||
if flowhosts_type == "local_origin_remote_target" then
|
||||
pageinfo["clientMode"] = "local"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue