[netperf-dev] netperf2 commit notice r623 - trunk/src

raj at netperf.org raj at netperf.org
Fri Jan 11 15:34:56 PST 2013


Author: raj
Date: 2013-01-11 15:34:55 -0800 (Fri, 11 Jan 2013)
New Revision: 623

Modified:
   trunk/src/nettest_omni.c
Log:
start to make the test-specific -n option effective for migrated UDP_STREAM per bug reported by Eric D.

Modified: trunk/src/nettest_omni.c
===================================================================
--- trunk/src/nettest_omni.c	2013-01-09 23:09:19 UTC (rev 622)
+++ trunk/src/nettest_omni.c	2013-01-11 23:34:55 UTC (rev 623)
@@ -4050,7 +4050,7 @@
     /* if we are not a connectionless protocol, we need to connect. at
        some point even if we are a connectionless protocol, we may
        still want to "connect" for convenience raj 2008-01-14 */
-    need_to_connect = (protocol != IPPROTO_UDP);
+    need_to_connect = (protocol != IPPROTO_UDP) || local_connected;
 
     /* possibly wait just a moment before actually starting - used
        mainly when one is doing many many many concurrent netperf



More information about the netperf-dev mailing list