shit...
authorxchaos <xchaos@251d49ef-1d17-4917-a970-b30cf55b089b>
Mon, 9 Dec 2013 01:45:07 +0000 (01:45 +0000)
committerxchaos <xchaos@251d49ef-1d17-4917-a970-b30cf55b089b>
Mon, 9 Dec 2013 01:45:07 +0000 (01:45 +0000)
git-svn-id: https://dev.arachne.cz/repos/prometheus/trunk@241 251d49ef-1d17-4917-a970-b30cf55b089b

parseiptables.c

index f34e5f976cc6386e93582148dd856b6d64071347..eca2ced6221c4af51d98be83b5a9c0adf9376c86 100644 (file)
@@ -98,7 +98,6 @@ void get_traffic_statistics(const char *whichiptables, int ipv6)
            }\r
            else if(!ipv6)\r
            {\r
-\r
 /*          if(downloadflag)\r
             { \r
              if(strstr(proxy_ip,ptr))\r
@@ -108,8 +107,7 @@ void get_traffic_statistics(const char *whichiptables, int ipv6)
 \r
             } \r
             else \r
-            { \r
-*/\r
+            {  */\r
             if(!downloadflag)\r
             {\r
              ipaddr = ptr;\r
@@ -179,9 +177,9 @@ void get_traffic_statistics(const char *whichiptables, int ipv6)
     }\r
     else\r
     {*/\r
-     ip->traffic += traffic;\r
+    ip->traffic += traffic;\r
 /*    } */\r
-    ip->direct += ip->traffic-ip->upload; /*-ip->proxy;*/\r
+    ip->direct += traffic; /*-ip->proxy;*/\r
     ip->pktsdown += pkts;\r
    }\r
    else\r
This page took 0.155093 seconds and 4 git commands to generate.