From 39a89851f15ae468a2c764454b18248b07da9a30 Mon Sep 17 00:00:00 2001 From: xchaos Date: Mon, 9 Dec 2013 00:15:44 +0000 Subject: [PATCH] traffic->download bug fixed git-svn-id: https://dev.arachne.cz/repos/prometheus/trunk@240 251d49ef-1d17-4917-a970-b30cf55b089b --- parseiptables.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.30.2