X-Git-Url: https://git.harvie.cz/?a=blobdiff_plain;f=prometheus.c;h=7adff3cc6b493b5b9481a6284af7b6265e799b7d;hb=4deb2d6f2b43232cf5e782ebb1deb9b0e041def9;hp=edab1c109ef84898f655cd37ecc3db71342195c3;hpb=20ae739ca407ae6f1b012d3c58e5b0c28514b9d8;p=svn%2FPrometheus-QoS%2F.git diff --git a/prometheus.c b/prometheus.c index edab1c1..7adff3c 100644 --- a/prometheus.c +++ b/prometheus.c @@ -7,7 +7,7 @@ /* Credit: CZFree.Net,Martin Devera,Netdave,Aquarius,Gandalf */ /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ -/* Modified by: xChaos, 20171012 +/* Modified by: xChaos, 20171106 ludva, 20080415 Prometheus QoS is free software; you can redistribute it and/or @@ -29,7 +29,7 @@ #include "cll1-0.6.2.h" #include "ipstruct.h" -const char *version = "0.9.0-a"; +const char *version = "0.9.0-b"; /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ /* Versions: 0.9.0 is development release, 1.0 will be "stable" */ @@ -1291,7 +1291,7 @@ Credit: CZFree.Net, Martin Devera, Netdave, Aquarius, Gandalf\n\n",version); interface->name, limit_pkts); iptables_save_line(str, ip->v6); - if(limit_pkts) + if(*limit_pkts) /* non-empty string?*/ { /* classify overlimit packets to separate overlimit class */ sprintf(str, "-A %s -%c %s/%d -o %s -j %s%d",