Ethereal-dev: [Ethereal-dev] throughput graph

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Fabio Mascio " <fmascio@xxxxxxxxxxxxx>
Date: Fri, 06 Sep 2002 19:09:13 +0800
Hi all,
I think ethereal is a great program and I use it especially for watching and optimizing the speed of my tcp connections in my wan.
I'm sorry if I made a mistake but
looking at the throughput graph code I think that the first time that 
"i > g->s.tput.nsegs" the value of "oldest->data" should be zero because the first packet is just the reference to calculate the delta time.
Instead in this way the first time you enter in this condition, you reduce the sum but not the delta time. 

	if (i>g->s.tput.nsegs) {
			sum -= oldest->data;
			oldest=oldest->next;
		}

Fabio    
   
-- 
_______________________________________________
Get your free email from http://mymail.operamail.com

Powered by Outblaze