[flow-tools] 1 Mb = 1000000 bytes?! ;-)
Mark Fullmer
maf@eng.oar.net
Wed, 19 Jun 2002 11:40:56 -0400
On Wed, Jun 19, 2002 at 09:03:31AM +0200, sthaug@nethelp.no wrote:
>
> I see we're not going to convince each other. I'm happy with the choice
> that the flow-tools author has made, and prefer to keep things the way
> they are. Since you have a patch to change flow-tools to use your idea
> of kilo and mega, I suggest you simply keep it as a local patch.
When I originally implemented flow-stat the multiplier was 1024, not 1000.
A year or so ago Mark B. correctly pointed out that it should be 1000.
There are cases (ie -f15) where it might appear better to report MBytes
as 2^10 instead of 10^3. IMHO it's better to be consistent.
mark