I release code when it compiles without errors :-)
authorxchaos <xchaos@251d49ef-1d17-4917-a970-b30cf55b089b>
Mon, 11 Jun 2012 13:13:28 +0000 (13:13 +0000)
committerxchaos <xchaos@251d49ef-1d17-4917-a970-b30cf55b089b>
Mon, 11 Jun 2012 13:13:28 +0000 (13:13 +0000)
git-svn-id: https://dev.arachne.cz/repos/prometheus/trunk@191 251d49ef-1d17-4917-a970-b30cf55b089b

prometheus.c

index 529315d91e32ed97c5cfea649299689f7768c34c..17c77af29484607eaf802b5a1a07a8b5956fba12 100644 (file)
@@ -1829,7 +1829,19 @@ Credit: CZFree.Net, Martin Devera, Netdave, Aquarius, Gandalf\n\n",version);
   {\r
    char *f1="", *f2="";\r
    i++;\r
-      \r
+\r
+   if(ip->max < ip->desired) \r
+   { \r
+    f1="<span style=\"color:red\">"; \r
+    f2="</span>"; \r
+    limit_count++; \r
+   } \r
+   else if(ip->prio > highest_priority+1) \r
+   { \r
+    f1="<span style=\"color:brown\">"; \r
+    f2="</span>"; \r
+    prio_count++; \r
+   }       \r
 \r
 #ifdef DEBUG\r
    printf("%03d. %-22s %10Lu (%d/%d)\n",i ,ip->name, ip->traffic, ip->min, ip->max); \r
This page took 0.13699 seconds and 4 git commands to generate.