From: xchaos Date: Mon, 11 Jun 2012 13:13:28 +0000 (+0000) Subject: I release code when it compiles without errors :-) X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=f1e0e0820f16da34888227fc4c0b50f69402bcd3;p=svn%2FPrometheus-QoS%2F.git I release code when it compiles without errors :-) git-svn-id: https://dev.arachne.cz/repos/prometheus/trunk@191 251d49ef-1d17-4917-a970-b30cf55b089b --- diff --git a/prometheus.c b/prometheus.c index 529315d..17c77af 100644 --- a/prometheus.c +++ b/prometheus.c @@ -1829,7 +1829,19 @@ Credit: CZFree.Net, Martin Devera, Netdave, Aquarius, Gandalf\n\n",version); { char *f1="", *f2=""; i++; - + + if(ip->max < ip->desired) + { + f1=""; + f2=""; + limit_count++; + } + else if(ip->prio > highest_priority+1) + { + f1=""; + f2=""; + prio_count++; + } #ifdef DEBUG printf("%03d. %-22s %10Lu (%d/%d)\n",i ,ip->name, ip->traffic, ip->min, ip->max);