Implemented non-L3 stats and improved tcp flow stats

This commit is contained in:
Luca Deri 2016-06-17 23:51:13 +02:00
parent 0b2368787f
commit 43c17964e5
11 changed files with 152 additions and 24 deletions

View file

@ -12,7 +12,6 @@ function aggregateInterfaceStats(ifstats)
local tot = {}
for ifname,_v in pairs(ifstats["interfaces"]) do
for k,v in pairs(ifstats["interfaces"][ifname]) do
if(type(v) ~= "table") then
if((tot[k] == nil) and (k ~= "id") and (k ~= "name")) then