preparing -x switch (documentation)
[svn/Prometheus-QoS/.git] / prometheus.c
index edab1c109ef84898f655cd37ecc3db71342195c3..236e4ab58a74411c0a43ba7d645b43634e67f138 100644 (file)
@@ -7,7 +7,7 @@
 /* Credit: CZFree.Net,Martin Devera,Netdave,Aquarius,Gandalf  */\r
 /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */\r
 \r
-/* Modified by: xChaos, 20171012\r
+/* Modified by: xChaos, 20171106\r
                  ludva, 20080415\r
  \r
    Prometheus QoS is free software; you can redistribute it and/or\r
@@ -29,7 +29,7 @@
 #include "cll1-0.6.2.h"\r
 #include "ipstruct.h"\r
 \r
-const char *version = "0.9.0-a";\r
+const char *version = "0.9.1";\r
 \r
 /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */\r
 /* Versions: 0.9.0 is development release, 1.0 will be "stable"    */\r
@@ -1291,7 +1291,7 @@ Credit: CZFree.Net, Martin Devera, Netdave, Aquarius, Gandalf\n\n",version);
                 interface->name, limit_pkts);\r
    iptables_save_line(str, ip->v6);\r
 \r
-   if(limit_pkts)\r
+   if(*limit_pkts) /* non-empty string?*/\r
    {\r
     /* classify overlimit packets to separate overlimit class */\r
     sprintf(str, "-A %s -%c %s/%d -o %s -j %s%d",\r
This page took 0.120657 seconds and 4 git commands to generate.