From: xchaos Date: Sun, 13 May 2012 22:31:51 +0000 (+0000) Subject: ... X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=c864e623efbec112ab58530a6b68b5d8c6faa848;p=svn%2FPrometheus-QoS%2F.git ... git-svn-id: https://dev.arachne.cz/repos/prometheus/trunk@178 251d49ef-1d17-4917-a970-b30cf55b089b --- diff --git a/prometheus.c b/prometheus.c index 0870bce..b4ed05d 100644 --- a/prometheus.c +++ b/prometheus.c @@ -1646,9 +1646,9 @@ Credit: CZFree.Net, Martin Devera, Netdave, Aquarius, Gandalf\n\n",version); fprintf(f, "%d%d kb/s", group->count, group->desired); - for_each(keyword, keywords) + for_each(keyword, keywords) if(keyword->ip_count) { - fprintf(f,"%d Mb/s", + fprintf(f,"%d MB", keyword->html_color, group->min*keyword->data_limit); } i += group->desired; @@ -1664,7 +1664,7 @@ Credit: CZFree.Net, Martin Devera, Netdave, Aquarius, Gandalf\n\n",version); Line %Ld kb/s",line); fprintf(f,"%d%d kb/s",total,i); - for_each(keyword, keywords) + for_each(keyword, keywords) if(keyword->ip_count) { fprintf(f,"%d IPs",keyword->ip_count); }