[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ns] minor ndatapack_ bug (again)




Thanks for the bug report. The snapshot will be fixed soon. I think posting 
bug fixes on the ns-users list may be helpful to other users as well. The 
ns-developers list is restricted.

Satish


> Good morning-
> 
> I'm using the TCP vegas implementation in NS and found a little bug in the
> output function. I searched the list archive and it turns out it had already
> been noticed back in march, but not fixed as of Thursday's snapshot. Must have
> gotten lost in the shuffle. Here's the one-line patch to keep track of the data
> packet count like in all the other TCPs.
> 
> --- tcp-vegas.cc.orig	Mon Sep 18 09:51:10 2000
> +++ tcp-vegas.cc	Mon Sep 18 09:48:46 2000
> @@ -437,6 +437,7 @@
>  	/* support ndatabytes_ in output - Lloyd Wood 14 March 2000 */
>  	int bytes = hdr_cmn::access(p)->size(); 
>  	ndatabytes_ += bytes; 
> +	ndatapack_++;
>  	send(p, 0);
>  	if (seqno == curseq_ && seqno > maxseq_)
>  		idle();  // Tell application I have sent everything so far
> ---
> 
> Also, I tried to sign up to the ns-developers list because I didn't think this
> was quite the way to post this info, but it denied me. Is that list actually
> still in use, or is it just restricted?
> 
> 
> Thanks
> -Eric
> 
> ------------------------------------------
>  Eric H. Weigle CIC-5 Network Engineering
>  Los Alamos National Laboratory
>  P.O. Box 1663, MS D451
>  Los Alamos, NM  87545
>  Email: [email protected] Phone: (505)665-4937
> ------------------------------------------