[Disclaimer] I have no idea what I'm doing. Ntop is forcing me to learn C (The O'Reilly people just made another 39bucks from me...) [/Disclaimer]
After hacking around for days at pbuf.c I found a way to get it to run on my test box (Solaris 9) Here it is..... [EMAIL PROTECTED] ~/ntop_cvs/ntop [123] cvs diff pbuf.c Index: pbuf.c =================================================================== RCS file: /export/home/ntop/ntop/pbuf.c,v retrieving revision 2.122 diff -r2.122 pbuf.c 902c902 < u_char *tcp_data = (u_char *)((int)tcp + tcp->th_off * 4); --- > u_char *tcp_data = (u_char *)((int)tcp + tp.th_off * 4); That little change made the start up problems go away. So I have no idea if that was a missed change since I see no other tcp->th_off calls but several tp.th_off 's.... Now that it is running it has a a problem showing the STATS->TRAFFIC page which was the same problem I had back in 2.2 and I hacked around... So I'm going back to gdb and my notes to see If I can bring this page up as well. -- Mike Tremaine [EMAIL PROTECTED] _______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop
