X-Git-Url: https://git.harvie.cz/?p=svn%2FPrometheus-QoS%2F.git;a=blobdiff_plain;f=prometheus.c;h=17c77af29484607eaf802b5a1a07a8b5956fba12;hp=529315d91e32ed97c5cfea649299689f7768c34c;hb=f1e0e0820f16da34888227fc4c0b50f69402bcd3;hpb=8e29188ae8234c9bab4ede7d1e8f3abd26eb621a 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);