X-Git-Url: https://git.harvie.cz/?p=svn%2FPrometheus-QoS%2F.git;a=blobdiff_plain;f=prometheus.c;h=8301c0d9c8497ffe5b410a19b33c7301a6522976;hp=3e4cb83d65afe46f138939f3df9df3102725c94d;hb=457d52f2dac219d386fc50ffca07b73e85da48d7;hpb=9690db8ed1b8015caade68d5d074bdd918d21d7b 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