mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Implements two-way traffic filter for hosts
This commit is contained in:
parent
7a14a9cf11
commit
5e60fb19c9
7 changed files with 26 additions and 10 deletions
|
|
@ -139,7 +139,12 @@ if (_GET["page"] ~= "historical") then
|
|||
local traffic_type_title
|
||||
if not isEmptyString(traffic_type) then
|
||||
page_params["traffic_type"] = traffic_type
|
||||
traffic_type_title = i18n("hosts_stats.traffic_type_one_way")
|
||||
|
||||
if traffic_type == "one_way" then
|
||||
traffic_type_title = i18n("hosts_stats.traffic_type_one_way")
|
||||
elseif traffic_type == "bidirectional" then
|
||||
traffic_type_title = i18n("hosts_stats.traffic_type_two_ways")
|
||||
end
|
||||
else
|
||||
traffic_type_title = ""
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue