[netperf-dev] netperf2 commit notice r446 - in trunk: . src

raj at netperf.org raj at netperf.org
Thu Jul 21 14:42:56 PDT 2011


Author: raj
Date: 2011-07-21 14:42:56 -0700 (Thu, 21 Jul 2011)
New Revision: 446

Modified:
   trunk/AUTHORS
   trunk/src/nettest_bsd.c
Log:
remove duplicate htonl fix courtesy of David MacMahon

Modified: trunk/AUTHORS
===================================================================
--- trunk/AUTHORS	2011-07-21 18:10:36 UTC (rev 445)
+++ trunk/AUTHORS	2011-07-21 21:42:56 UTC (rev 446)
@@ -262,6 +262,7 @@
 
 David MacMahon davidm at astro.berkeley.edu
 Fix to allow configure in a build directory.
+Remove duplicate htonl in recv_udp_stream().
 
 Masanari Iida
 Cleanups for the manual.

Modified: trunk/src/nettest_bsd.c
===================================================================
--- trunk/src/nettest_bsd.c	2011-07-21 18:10:36 UTC (rev 445)
+++ trunk/src/nettest_bsd.c	2011-07-21 21:42:56 UTC (rev 446)
@@ -7296,7 +7296,7 @@
   }
   
   netperf_response.content.response_type	= UDP_STREAM_RESULTS;
-  udp_stream_results->bytes_received	= htonl(bytes_received);
+  udp_stream_results->bytes_received	= bytes_received;
   udp_stream_results->messages_recvd	= messages_recvd;
   udp_stream_results->elapsed_time	= elapsed_time;
   udp_stream_results->cpu_method        = cpu_method;



More information about the netperf-dev mailing list