X-Git-Url: https://git.harvie.cz/?a=blobdiff_plain;f=prometheus.c;h=0870bcec81a9239e117d95310c2b301c0022e77f;hb=e64e760d50046e48f3520045970878a4687a19e2;hp=26d6b0800ea51021c2edd30b7a00f5293f115d54;hpb=1fcbc04fa250f924b258cf0f40b30cbcf511e634;p=svn%2FPrometheus-QoS%2F.git
diff --git a/prometheus.c b/prometheus.c
index 26d6b08..0870bce 100644
--- a/prometheus.c
+++ b/prometheus.c
@@ -1659,7 +1659,9 @@ Credit: CZFree.Net, Martin Devera, Netdave, Aquarius, Gandalf\n\n",version);
printf("Total groups: %d Total bandwidth requested: %d kb/s\nAGGREGATION: 1/%d\n",
count, i, i/line);
#endif
- fprintf(f,"
Line %Ld kb/s",line);
+ fprintf(f," |
\n\
+\n\
+Line %Ld kb/s",line);
fprintf(f," | %d | %d kb/s",total,i);
for_each(keyword, keywords)
@@ -1669,7 +1671,7 @@ Credit: CZFree.Net, Martin Devera, Netdave, Aquarius, Gandalf\n\n",version);
fprintf(f," |
Aggregation 1/%d | \n", (int)(0.5+i/line));
fprintf(f,"%d traffic classes |
\n", keywordcount, total);
- fputs("\n",f);
+ fputs("\n",f);
}
else if(!dry_run && !just_flush)
{
@@ -1707,8 +1709,8 @@ Credit: CZFree.Net, Martin Devera, Netdave, Aquarius, Gandalf\n\n",version);
min | \n\
max | \n\
limit | \n\
-prio | \n\
-\n\
+ | \n\
+
\n\
# | \n\
hostname [+sharing] | \n\
LMS | \n\
@@ -1720,7 +1722,7 @@ Credit: CZFree.Net, Martin Devera, Netdave, Aquarius, Gandalf\n\n",version);
kb/s | \n\
kb/s | \n\
kb/s | \n\
- | \n\
+prio | \n\
\n",f);
row_odd_even = 0;
@@ -1854,14 +1856,15 @@ Credit: CZFree.Net, Martin Devera, Netdave, Aquarius, Gandalf\n\n",version);
}
}
}
- fprintf(f,"%d CLASSES | ", colspan-7, i);
+ fprintf(f,"
---|
\n\
+%d CLASSES | ", colspan-7, i);
fprintf(f,"%Lu | %Lu | \n", total_traffic, total_direct);
if(qos_proxy)
{
fprintf(f,"%Lu | \n", total_proxy);
}
fprintf(f,"%Lu | ", total_upload);
- fprintf(f,"FUP-LIMIT %dx LOW-PRIO %dx |
\n\n",limit_count,prio_count);
+ fprintf(f,"LIMIT %dx LOW-PRIO %dx | \n\n",limit_count,prio_count);
row_odd_even = 0;
if(active_classes>10)