classmap file bugfix
authorxchaos <xchaos@251d49ef-1d17-4917-a970-b30cf55b089b>
Sun, 10 Jun 2012 09:38:10 +0000 (09:38 +0000)
committerxchaos <xchaos@251d49ef-1d17-4917-a970-b30cf55b089b>
Sun, 10 Jun 2012 09:38:10 +0000 (09:38 +0000)
git-svn-id: https://dev.arachne.cz/repos/prometheus/trunk@186 251d49ef-1d17-4917-a970-b30cf55b089b

prometheus.c

index 3e4cb83d65afe46f138939f3df9df3102725c94d..8301c0d9c8497ffe5b410a19b33c7301a6522976 100644 (file)
@@ -610,7 +610,7 @@ void get_traffic_statistics(void)
      {\r
       printf("(upload) ");\r
      }\r
-     printf("IP %s: %Lu M (%ld pkts)\n", ipaddr, traffic, pkts);\r
+     printf("IP %s: %Lu MB (%ld pkts)\n", ipaddr, traffic, pkts);\r
 \r
      if_exists(ip,ips,eq(ip->addr,ipaddr)); \r
      else \r
@@ -2183,7 +2183,7 @@ Credit: CZFree.Net, Martin Devera, Netdave, Aquarius, Gandalf\n\n",version);
   \r
    if(f)\r
    {\r
-     fprintf(f, "%s %d", ip->addr, ip->mark);\r
+     fprintf(f, "%s %d\n", ip->addr, ip->mark);\r
    }\r
   }\r
   else\r
This page took 0.17946 seconds and 4 git commands to generate.