Well, if you want to be a hacker, you're going to have to learn to code...
:(

Those pages are working fine for me - I'm not seeing any problems with the
sorts.

1. Make sure it's ntop 3.0 and not one of the prex series.

2. Try running w/ -K (the debug flag).  This changes the host link to this:

192.168.3.192 (vlan 5) [IP]
                        ^^^

Which shows you what TYPE of resolution ntop has been able to perform.  That
usually explains the oddities in the host sort discussed in the note.

Otherwise, you'll need to capture the generated html and post it so we can
see the actual 'results'.

-----Burton



> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Ralf
> Stodt
> Sent: Wednesday, May 19, 2004 3:01 AM
> To: [EMAIL PROTECTED]
> Subject: [Ntop] Re: Re: sorting problems
>
>
> Hi !
>
> Burton M. Strauss III wrote:
> > The way to track these down is to use the status bar on the browser
> > and figure out which page is being referenced.  Use that xxxx.html to
> > find the constant in globals-defines.h (usualy XXXXX_HTML) and then
> > figure out which routine is being called by looking for the XXXX_HTML
> > constant in http.c.
> >
> > That gives you the block of code, where you can find the qsort() call
> > and see what compare function is being used.  Then the col= generated
> > header needs to be adjusted to the right case value for the compare
> > function.
>
> Thanks for your advice, but my programming knowledge is very poorly.
> The referenced pages are IpL2L, IpL2R, IpR2L and IpR2R. When
> sorting by column 3 or 4 we get these randomness. The associated
> constants in global-defines.h are CONS_IP_L_2_L_HTML,
> CONS_IP_L_2_R_HTML, CONS_IP_R_2_L_HTML, CONS_IP_R_2_R_HTML.

You mean CONST_xxxx - precise cut & paste is important!

> However from that
> point I am at a loss......
>
> Greets
>
> rs

_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to