max nesting limit according to include/uapi/linux/pkt_sched.h: #define TC_HTB_MAXDEPTH 8
[svn/Prometheus-QoS/.git] / parseiptables.c
index f34e5f9..eca2ced 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.146248 seconds and 4 git commands to generate.