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 529315d..17c77af 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.131175 seconds and 4 git commands to generate.