X-Git-Url: http://git.harvie.cz/?p=svn%2FPrometheus-QoS%2F.git;a=blobdiff_plain;f=prometheus.c;fp=prometheus.c;h=7adff3cc6b493b5b9481a6284af7b6265e799b7d;hp=267070fae0c1498b2fb20143c620e3731c47f8e8;hb=76b82eecc73f0495aea55f1ef5661fb336b53071;hpb=207cfcdbe2fe0da554f48ee4b248003e995bdae0 diff --git a/prometheus.c b/prometheus.c index 267070f..7adff3c 100644 --- a/prometheus.c +++ b/prometheus.c @@ -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",