From f5707e28fc2ed75949de3abe9962c973d1f53eff Mon Sep 17 00:00:00 2001 From: xchaos Date: Sun, 4 May 2008 11:33:16 +0000 Subject: [PATCH] html template git-svn-id: https://dev.arachne.cz/repos/prometheus/trunk@88 251d49ef-1d17-4917-a970-b30cf55b089b --- prometheus.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.30.2
%s %sData transfersMin.speed
%d%s%ld MB%ld GB%ld kbps
%d%s%ld MB%ld GB%ld kbps