int active_classes = 0;\r
// int colspan = 14;\r
struct Sum {unsigned long long l; int i; list(Sum);} *sum,*sums = NULL;\r
- int limit_count = 0, prio_count = 0;\r
+ int agreg_count = 0, limit_count = 0, prio_count = 0;\r
int popup_button = 0;\r
/* IPv6 vs. IPv4 stats */\r
unsigned long long pkts4 =0, pkts6 = 0, bytes4 = 0, bytes6 = 0;\r
char *f1="", *f2="";\r
i++;\r
\r
- if(ip->max < ip->desired) \r
+ if(ip->aggregated > 1)\r
+ {\r
+ f1 = "<span style=\"color:green\">";\r
+ f2 = "</span>"; \r
+ agreg_count++;\r
+ }\r
+ else if(ip->max < ip->desired) \r
{\r
f1 = "<span style=\"color:red\">";\r
f2 = "</span>"; \r
*/\r
fprintf(f, "<th style=\"text-align: right\">%Lu</th><th style=\"text-align: right\">%d</th>",\r
total_direct, total_pktdown/i);\r
- fprintf(f, "<th colspan=\"6\"><span style=\"color:red\">LIMIT %dx</span> \\r
-<span style=\"color:brown\">LOW-PRIO %dx</span></th></tr>\n</thead></table>\n",\r
- limit_count, prio_count);\r
+ fprintf(f, "<th colspan=\"6\">\\r
+<span style=\"color:green\">AGR %dx</span> \\r
+<span style=\"color:red\">FUP %dx</span> \\r
+<span style=\"color:brown\">PRIO %dx</span></th></tr>\n</thead></table>\n",\r
+ agreg_count, limit_count, prio_count);\r
\r
if(ip6prefix)\r
{ \r