From 457d52f2dac219d386fc50ffca07b73e85da48d7 Mon Sep 17 00:00:00 2001 From: xchaos Date: Sun, 10 Jun 2012 09:38:10 +0000 Subject: [PATCH] classmap file bugfix git-svn-id: https://dev.arachne.cz/repos/prometheus/trunk@186 251d49ef-1d17-4917-a970-b30cf55b089b --- prometheus.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.30.2