Hi Ola,

I think Luca will correct the little problem soon. I've post it on the 
ntop-dev mailing list.

The fix is just this patch, perhaps we could include it :

Index: rrdPlugin.c
===================================================================
RCS file: /export/home/ntop/ntop/plugins/rrdPlugin.c,v
retrieving revision 2.266
diff -r2.266 rrdPlugin.c
388c388
<   safe_snprintf(__FILE__, __LINE__, buf, sizeof(buf), "<option 
value=\"%s&start=%u\">Last 6h</option>\n", url, now - 6 * 86400);
---
>   safe_snprintf(__FILE__, __LINE__, buf, sizeof(buf), "<option 
value=\"%s&start=%u\">Last 6h</option>\n", url, now - 6 * 3600);
390c390
<   safe_snprintf(__FILE__, __LINE__, buf, sizeof(buf), "<option 
value=\"%s&start=%u\">Last Hour</option>\n", url, now - 86400);
---
>   safe_snprintf(__FILE__, __LINE__, buf, sizeof(buf), "<option 
value=\"%s&start=%u\">Last Hour</option>\n", url, now - 3600);
967,968c967,968
<     option_timespan(the_time-6*30*86400, "Last 6 Months", 0);
<     option_timespan(the_time-12*30*86400, "Last Year", 0);
---
>     option_timespan(the_time-182*86400, "Last 6 Months", 0);
>     option_timespan(the_time-365*86400, "Last Year", 0);


By the way, I think ntop 3.2 has real stability problems, so it better to 
upgrade to 3.3.

Do you maintain an Etch backport of ntop (on backports.org) ?


Le Monday 11 June 2007 08:59:50 Ola Lundqvist, vous avez écrit :
> Hi Gilles
>
> Thanks for the information. I was not aware that it has
> been released.
>
> What is your opinion; is the graphics problems in the new version
> severe enough to keep the old version, even though #420633 exists?
>
> I will not update to the new version in a couple of weeks as I'm going
> on vacation.
>
> Regards,
>
> // Ola
>
> On Sun, Jun 10, 2007 at 12:20:58PM +0200, Gilles Mocellin wrote:
> > Package: ntop
> > Severity: wishlist
> >
> > --- Please enter the report below this line. ---
> >
> > The new 3.3 release is out.
> > It fixes for me bug #420633.
> >
> > But already has some bugs (presets in graphics zoom).
> >
> > --- System information. ---
> > Architecture: amd64
> > Kernel:       Linux 2.6.20-1-xen-amd64
> >
> > Debian Release: lenny/sid
> >   600 unstable        jeandamiendurand.free.fr
> >   600 unstable        aptsrc
> >   500 debian          aptsrc
> >   200 experimental    aptsrc
> >
> > --- Package information. ---
> > Depends        (Version) | Installed
> > ========================-+-============
> > debconf      (>= 0.2.26) | 1.5.13


Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to