Prevents localstats to be overwritten in interfaces aggregation

Fixes #552
This commit is contained in:
Simone Mainardi 2016-05-06 11:02:44 +02:00
parent d3741632a4
commit 9ce96af916
3 changed files with 10 additions and 5 deletions

View file

@ -13,7 +13,9 @@ sendHTTPHeader('text/html; charset=iso-8859-1')
function dumpInterfaceStats(interface_name)
interface.select(interface_name)
ifstats = aggregateInterfaceStats(interface.getStats())
ifstats = interface.getStats()
ifstats = aggregateInterfaceStats(ifstats)
stats = interface.getFlowsStats()