Update local2remote stats in the same place where network stats are updates. This fixes stats with netfilter and non-packet interfaces. Fix #6145

This commit is contained in:
Alfredo Cardigliano 2022-09-21 11:00:00 +02:00
parent 522436a56e
commit 729ebc402b
7 changed files with 19 additions and 8 deletions

View file

@ -83,7 +83,6 @@ function ts_dump.subnet_update_rrds(when, ifstats, verbose)
end
end
ts_utils.append("subnet:traffic",
{ifid=ifstats.id, subnet=subnet,
bytes_ingress=sstats["ingress"], bytes_egress=sstats["egress"],