Changeset 255


Ignore:
Timestamp:
06/22/16 23:27:37 (18 months ago)
Author:
xchaos
Message:

digital-divide, total avg.speed was nonsense

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/parselogs.c

    r248 r255  
    164164 if(f > 0) 
    165165 { 
    166   time_t max_logged_time = 0; 
     166//  time_t max_logged_time = 0; 
    167167 
    168168  fprintf(f, "<table class=\"decorated last\"><thead>\n\ 
     
    178178  for_each(iplog, iplogs) 
    179179  { 
    180    if(iplog->logged_time > max_logged_time) 
     180/*   if(iplog->logged_time > max_logged_time) 
    181181   { 
    182182    max_logged_time = iplog->logged_time; 
    183183   } 
    184  
     184*/ 
    185185   if(iplog->traffic) 
    186186   { 
     
    215215<th colspan=\"2\" style=\"text-align: right\"><strong>%ld&nbsp;GB</strong></th>\ 
    216216<th style=\"text-align: right\"><strong>%Ld&nbsp;kb/s</strong></th>\ 
    217 <th style=\"text-align: right\"><strong>%Ld&nbsp;kb/s</strong></th></tr>\ 
    218 \n", total, line, (8*(total<<20))/max_logged_time/i); 
     217<th style=\"text-align: right\"><strong>-</strong></th></tr>\ 
     218\n", total, line); 
    219219  fputs("</thead></table>\n", f); 
    220220 
  • trunk/prometheus.c

    r254 r255  
    88/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ 
    99 
    10 /* Modified by: xChaos, 20151020 
     10/* Modified by: xChaos, 20160622 
    1111                 ludva, 20080415 
    1212  
     
    3030#include "ipstruct.h" 
    3131 
    32 const char *version = "0.8.5-d"; 
     32const char *version = "0.8.5-e"; 
    3333 
    3434/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ 
     
    308308  lloption("wan-upload",up); 
    309309  ioption("hall-of-fame-enable",hall_of_fame); 
     310  ioption("digital-divide-weirdness-ratio",digital_divide); 
    310311  option("hall-of-fame-title",title); 
    311312  option("hall-of-fame-filename",html); 
Note: See TracChangeset for help on using the changeset viewer.