Brian the patch looks good to me and I have committed it and I am now using on my test lab.
Many thanks for all, Luca On Jan 17, 2012, at 2:23 PM, Brian Behrens wrote: > Luca, > > Here is the patch file. Found disagreements between unsigned short and > unsigned integers. The unsigned short as a 65535 limit, thus where the > sessions would not go beyond. > > Synopsis of patches: > > 1. Created new function for processing unsigned integer preferences to > eliminate complaints from compiler. > 2. Updated ntopInterface struct to use unsigned integers instead of unsigned > short > 3. Updated function in report.c that defined numSessions as an integer, > changed it to unsigned int. > 4. Increased two buffer sizes due to logging output complaint. > > --Brian > > > From: [email protected] > [[email protected]] on behalf of Luca Deri > [[email protected]] > Sent: Tuesday, January 17, 2012 7:12 AM > To: [email protected] > Subject: Re: [Ntop-misc] Last svn patch. > > Great! > > Luca > > On 01/17/2012 02:10 PM, Brian Behrens wrote: >> Luca, >> >> Thanks, I have found the issue. I am correcting it now, working on a patch >> and will submit it to you, probably within the hour... >> >> --Brian >> From: [email protected] >> [[email protected]] on behalf of Luca Deri >> [[email protected]] >> Sent: Tuesday, January 17, 2012 7:04 AM >> To: [email protected] >> Subject: Re: [Ntop-misc] Last svn patch. >> >> Brian >> thanks for the update. Please let me know if you need support from my side >> >> Cheers Luca >> >> On 01/17/2012 01:14 PM, Brian Behrens wrote: >>> Luca, >>> >>> As of this morning, my one instance passed 65535 sessions, and ntop would >>> not see more than that even though the command line is set. I will try to >>> look through and see why this is... >>> >>> --Brian >>> From: [email protected] >>> [[email protected]] on behalf of Luca Deri >>> [[email protected]] >>> Sent: Monday, January 16, 2012 7:22 AM >>> To: [email protected] >>> Subject: Re: [Ntop-misc] Last svn patch. >>> >>> Brian >>> I did that change because the compiler (it was right) was complaining. Is >>> this causing side effects? If so let's address them: I didn't want to break >>> your code at all >>> >>> Luca >>> >>> On Jan 16, 2012, at 2:09 PM, Brian Behrens wrote: >>> >>>> Luca, >>>> >>>> I noticed you changed my u_int back to int in prefs.c. I had to change >>>> this because I could not get the max sessions, max hash above 65535. Did >>>> you find somewhere else that fixes this issue? >>>> >>>> --Brian >>>> _______________________________________________ >>>> Ntop-misc mailing list >>>> [email protected] >>>> http://listgateway.unipi.it/mailman/listinfo/ntop-misc >>> >>> >>> >>> _______________________________________________ >>> Ntop-misc mailing list >>> >>> [email protected] >>> http://listgateway.unipi.it/mailman/listinfo/ntop-misc >> >> >> >> _______________________________________________ >> Ntop-misc mailing list >> >> [email protected] >> http://listgateway.unipi.it/mailman/listinfo/ntop-misc > > <bb-rel.patch>_______________________________________________ > Ntop-misc mailing list > [email protected] > http://listgateway.unipi.it/mailman/listinfo/ntop-misc --- We can't solve problems by using the same kind of thinking we used when we created them - Albert Einstein _______________________________________________ Ntop-misc mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop-misc
