Fixes top talkers computation with VLAN-tagged traffic

This commit is contained in:
Simone Mainardi 2016-09-15 19:28:29 +02:00
parent d32c737047
commit 6d396c33ed
8 changed files with 82 additions and 67 deletions

View file

@ -27,10 +27,11 @@ local function getTopOS(ifid, ifname)
end
local function getTopOSBy(ifid, ifname, filter_col, filter_val)
return getCurrentTopGroupsSeparated(ifid, ifname, 10, true, false,
filter_col, filter_val, top_os_intf.key,
top_os_intf.JSONkey, false, true, nil,
top_os_intf.uniqueKey)
local lastdump_key = getLastDumpKey(top_os_intf.uniqueKey, filter_col, filter_val)
return getCurrentTopGroupsSeparated(ifid, ifname, 10, true, false,
filter_col, filter_val, top_os_intf.key,
top_os_intf.JSONkey, false, true, nil,
lastdump_key)
end
local function getTopOSClean(ifid, ifname, param)