traffic->download bug fixed
authorxchaos <xchaos@251d49ef-1d17-4917-a970-b30cf55b089b>
Mon, 9 Dec 2013 00:15:44 +0000 (00:15 +0000)
committerxchaos <xchaos@251d49ef-1d17-4917-a970-b30cf55b089b>
Mon, 9 Dec 2013 00:15:44 +0000 (00:15 +0000)
git-svn-id: https://dev.arachne.cz/repos/prometheus/trunk@240 251d49ef-1d17-4917-a970-b30cf55b089b

parseiptables.c

index cad83642137ca3e86e8c266452b1120f5d634bc3..f34e5f976cc6386e93582148dd856b6d64071347 100644 (file)
@@ -1,4 +1,4 @@
-/* Modified by: xChaos, 20131029 */\r
+/* Modified by: xChaos, 20131208 */\r
 \r
 #include "cll1-0.6.2.h"\r
 #include "ipstruct.h"\r
@@ -181,7 +181,7 @@ void get_traffic_statistics(const char *whichiptables, int ipv6)
     {*/\r
      ip->traffic += traffic;\r
 /*    } */\r
-/*    ip->direct += ip->traffic-ip->upload; /*-ip->proxy;*/\r
+    ip->direct += ip->traffic-ip->upload; /*-ip->proxy;*/\r
     ip->pktsdown += pkts;\r
    }\r
    else\r
This page took 0.116843 seconds and 4 git commands to generate.