From: xchaos Date: Mon, 9 Dec 2013 00:15:44 +0000 (+0000) Subject: traffic->download bug fixed X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=39a89851f15ae468a2c764454b18248b07da9a30;p=svn%2FPrometheus-QoS%2F.git traffic->download bug fixed git-svn-id: https://dev.arachne.cz/repos/prometheus/trunk@240 251d49ef-1d17-4917-a970-b30cf55b089b --- diff --git a/parseiptables.c b/parseiptables.c index cad8364..f34e5f9 100644 --- a/parseiptables.c +++ b/parseiptables.c @@ -1,4 +1,4 @@ -/* Modified by: xChaos, 20131029 */ +/* Modified by: xChaos, 20131208 */ #include "cll1-0.6.2.h" #include "ipstruct.h" @@ -181,7 +181,7 @@ void get_traffic_statistics(const char *whichiptables, int ipv6) {*/ ip->traffic += traffic; /* } */ -/* ip->direct += ip->traffic-ip->upload; /*-ip->proxy;*/ + ip->direct += ip->traffic-ip->upload; /*-ip->proxy;*/ ip->pktsdown += pkts; } else