Subject: Re: pkg/22102: ttcp calculates line speed wrong.
To: None <ragge@ludd.luth.se>
From: Jeremy C. Reed <reed@reedmedia.net>
List: netbsd-bugs
Date: 07/09/2003 07:18:20
On Wed, 9 Jul 2003 ragge@ludd.luth.se wrote:

> >Description:
> 	pkgsrc/benchmarks/ttcp calculates the line speed wrong.
> 	When dealing with line speeds, Kbit is 1000, not 1024; Mbit
> 	is 1000000, not 1048576 etc, but ttcp uses multiples of 1024
> 	to get the line speed.

Here is a webpage about it (which also discusses a wrap-around bug):
 http://ctd.grc.nasa.gov/5610/publications/TTCP-recommend.txt
 http://sd.wareonearth.com/~phil/net/ttcp/

In addition to the source code patches, the man page should add a note
showing that this change was done.

   Jeremy C. Reed
   http://bsd.reedmedia.net/