From: ludvik Date: Tue, 15 Apr 2008 18:38:57 +0000 (+0000) Subject: do logu je zapisovana i desired rychlost (tedy je tam min,max,desired) X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=c071897389d8757f09a9d636377d77604de8fc9d;p=svn%2FPrometheus-QoS%2F.git do logu je zapisovana i desired rychlost (tedy je tam min,max,desired) git-svn-id: https://dev.arachne.cz/repos/prometheus/trunk@77 251d49ef-1d17-4917-a970-b30cf55b089b --- diff --git a/prometheus.c b/prometheus.c index 28d9894..9847787 100644 --- a/prometheus.c +++ b/prometheus.c @@ -1373,8 +1373,8 @@ Credit: CZFree.Net, Martin Devera, Netdave, Aquarius, Gandalf\n\n",version); iplog=fopen(str,"a"); if(iplog) { - fprintf(iplog,"%ld\t%s\t%Lu\t%Lu\t%Lu\t%Lu\t%d\t%d\t%s", - time(NULL),ip->name,ip->traffic,ip->direct,ip->proxy,ip->upload,ip->min,ip->max,d); /* d = date*/ + fprintf(iplog,"%ld\t%s\t%Lu\t%Lu\t%Lu\t%Lu\t%d\t%d\t%d\t%s", + time(NULL),ip->name,ip->traffic,ip->direct,ip->proxy,ip->upload,ip->min,ip->max,ip->desired,d); /* d = date*/ fclose(iplog); } }