Accounts all phyisical interfaces in grouped view stats

Addresses issue raised in #486
This commit is contained in:
Simone Mainardi 2016-06-24 15:57:56 +02:00
parent 253b431bea
commit e86103f9fc
4 changed files with 44 additions and 8 deletions

View file

@ -79,8 +79,7 @@ stats_by_group_col = {}
interface.select(ifname)
stats_by_group_key=interface.getGroupedHosts(false, "column_"..group_col, country_n, os_n, tonumber(vlan_n), tonumber(as_n), tonumber(network_n)) -- false = little details)
stats_by_group_col = stats_by_group_key["groups"]
stats_by_group_col = aggregateGroupStats(stats_by_group_key)
--[[
Prepares a json containing table data, together with HTML.