From root@bs-tosh.breuninger.org  Tue Apr 25 12:40:36 2000
Return-Path: <root@bs-tosh.breuninger.org>
Received: from bs-tosh.breuninger.org (bs-tosh.Breuninger.ORG [195.254.79.23])
	by hub.freebsd.org (Postfix) with ESMTP id 1A90C37BDED
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 25 Apr 2000 12:40:34 -0700 (PDT)
	(envelope-from root@bs-tosh.breuninger.org)
Received: (from root@localhost)
	by bs-tosh.breuninger.org (8.9.3/8.9.3) id VAA19453;
	Tue, 25 Apr 2000 21:40:30 +0200 (CEST)
	(envelope-from root)
Message-Id: <200004251940.VAA19453@bs-tosh.breuninger.org>
Date: Tue, 25 Apr 2000 21:40:30 +0200 (CEST)
From: ob@seicom.net
Sender: root@bs-tosh.breuninger.org
Reply-To: ob@seicom.net
To: FreeBSD-gnats-submit@freebsd.org
Subject: tcpblast modification
X-Send-Pr-Version: 3.2

>Number:         18213
>Category:       ports
>Synopsis:       tcpblast modification
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 25 12:50:01 PDT 2000
>Closed-Date:    Sat Apr 29 17:21:37 PDT 2000
>Last-Modified:  Sat Apr 29 17:24:04 PDT 2000
>Originator:     Oliver Breuninger
>Release:        FreeBSD 4.0-RELEASE i386
>Organization:
>Environment:
>Description:

tcpblast shows

bit/s with label kbit/s

>How-To-Repeat:
>Fix:
	
diff -rNu /usr/ports/benchmarks/tcpblast tcpblast
diff -rNu /usr/ports/benchmarks/tcpblast/patches/patch-01 tcpblast/patches/patch-01
--- /usr/ports/benchmarks/tcpblast/patches/patch-01	Thu Jan  1 01:00:00 1970
+++ tcpblast/patches/patch-01	Tue Apr 25 21:14:51 2000
@@ -0,0 +1,9 @@
+--- tcpblast.c.orig	Tue Apr 25 21:10:12 2000
++++ tcpblast.c	Tue Apr 25 21:14:35 2000
+@@ -110,5 +110,5 @@
+ 	expms = (stops-starts)*1000 + (stopms-startms);
+ 	printf("\n%d %d-byte blocks in %ld msec.\n", nblocks, BLKSIZE, expms);
+-	printf("Throughput  =  %.1f kbit/s", (double) (nblocks*BLKSIZE) / expms * 8000.0);
++	printf("Throughput  =  %.1f kbit/s", (double) (nblocks*BLKSIZE) / expms * 8.0);
+ 	printf("  =  %.1f kByte/s", (double) (nblocks*BLKSIZE) / expms * 1000.0);
+ 	printf("  =  %.1f MByte/s\n", (double) (nblocks*BLKSIZE) / (double)(expms*1024.0));

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: steve 
State-Changed-When: Sat Apr 29 17:21:37 PDT 2000 
State-Changed-Why:  
Committed, thanks! 
>Unformatted:
 
