From: xchaos Date: Sun, 10 Jun 2012 09:38:10 +0000 (+0000) Subject: classmap file bugfix X-Git-Url: http://git.harvie.cz/?p=svn%2FPrometheus-QoS%2F.git;a=commitdiff_plain;h=457d52f2dac219d386fc50ffca07b73e85da48d7 classmap file bugfix git-svn-id: https://dev.arachne.cz/repos/prometheus/trunk@186 251d49ef-1d17-4917-a970-b30cf55b089b --- diff --git a/prometheus.c b/prometheus.c index 3e4cb83..8301c0d 100644 --- a/prometheus.c +++ b/prometheus.c @@ -610,7 +610,7 @@ void get_traffic_statistics(void) { printf("(upload) "); } - printf("IP %s: %Lu M (%ld pkts)\n", ipaddr, traffic, pkts); + printf("IP %s: %Lu MB (%ld pkts)\n", ipaddr, traffic, pkts); if_exists(ip,ips,eq(ip->addr,ipaddr)); else @@ -2183,7 +2183,7 @@ Credit: CZFree.Net, Martin Devera, Netdave, Aquarius, Gandalf\n\n",version); if(f) { - fprintf(f, "%s %d", ip->addr, ip->mark); + fprintf(f, "%s %d\n", ip->addr, ip->mark); } } else