From f1e0e0820f16da34888227fc4c0b50f69402bcd3 Mon Sep 17 00:00:00 2001 From: xchaos Date: Mon, 11 Jun 2012 13:13:28 +0000 Subject: [PATCH] I release code when it compiles without errors :-) git-svn-id: https://dev.arachne.cz/repos/prometheus/trunk@191 251d49ef-1d17-4917-a970-b30cf55b089b --- prometheus.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) 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); -- 2.30.2