mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 00:19:33 +00:00
Fixes top talkers computation with VLAN-tagged traffic
This commit is contained in:
parent
d32c737047
commit
6d396c33ed
8 changed files with 82 additions and 67 deletions
|
|
@ -34,13 +34,14 @@ local function getTopCountries(ifid, ifname)
|
|||
end
|
||||
|
||||
local function getTopCountriesBy(ifid, ifname, filter_col, filter_val)
|
||||
return getCurrentTopGroupsSeparated(ifid, ifname,
|
||||
10, true, false,
|
||||
filter_col, filter_val,
|
||||
top_countries_intf.key,
|
||||
top_countries_intf.JSONkey,
|
||||
nil, true, nil,
|
||||
top_countries_intf.uniqueKey)
|
||||
local lastdump_key = getLastDumpKey(top_countries_intf.uniqueKey, filter_col, filter_val)
|
||||
return getCurrentTopGroupsSeparated(ifid, ifname,
|
||||
10, true, false,
|
||||
filter_col, filter_val,
|
||||
top_countries_intf.key,
|
||||
top_countries_intf.JSONkey,
|
||||
nil, true, nil,
|
||||
lastdump_key)
|
||||
end
|
||||
|
||||
local function getTopCountriesClean(ifid, ifname, param)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue