From: xchaos Date: Sun, 4 May 2008 11:33:16 +0000 (+0000) Subject: html template X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=f5707e28fc2ed75949de3abe9962c973d1f53eff;p=svn%2FPrometheus-QoS%2F.git html template git-svn-id: https://dev.arachne.cz/repos/prometheus/trunk@88 251d49ef-1d17-4917-a970-b30cf55b089b --- diff --git a/prometheus.c b/prometheus.c index 8fc385d..35b3eb2 100644 --- a/prometheus.c +++ b/prometheus.c @@ -745,11 +745,11 @@ void parse_ip_log(int argc, char **argv) f=fopen(str,"w"); if(f) { - fprintf(f,"\n ",month,year); + fprintf(f,"
Data transfers - %s %sMin.speed
\n ",month,year); every(iplog,iplogs) if(iplog->traffic) { - fprintf(f,"\n", + fprintf(f,"\n", i++, iplog->name, iplog->traffic, iplog->traffic>>10, iplog->guaranted); total+=iplog->traffic>>10; }
%s %sData transfersMin.speed
%d%s%ld MB%ld GB%ld kbps
%d%s%ld MB%ld GB%ld kbps