[netperf-dev] netperf2 commit notice r346 - trunk/src
raj at netperf.org
raj at netperf.org
Mon Mar 15 16:34:06 PDT 2010
Author: raj
Date: 2010-03-15 16:34:05 -0700 (Mon, 15 Mar 2010)
New Revision: 346
Modified:
trunk/src/nettest_omni.c
Log:
another step closer perhaps
Modified: trunk/src/nettest_omni.c
===================================================================
--- trunk/src/nettest_omni.c 2010-03-15 22:29:46 UTC (rev 345)
+++ trunk/src/nettest_omni.c 2010-03-15 23:34:05 UTC (rev 346)
@@ -4403,16 +4403,16 @@
tests will for the time being require that the user specify a
local IP/name so we can extract them from the data_socket. */
getsockname(data_socket, (struct sockaddr *)&my_addr, &my_addr_len);
+
ret = get_sockaddr_family_addr_port(&my_addr,
nf_to_af(omni_request->ipfamily),
omni_request->netperf_ip,
&(omni_request->netperf_port));
- ret = get_sockaddr_family_addr_port(&remote_addr,
+ ret = get_sockaddr_family_addr_port((struct sockaddr_storage *)remote_res->ai_addr,
nf_to_af(omni_request->ipfamily),
omni_request->netserver_ip,
&(omni_request->data_port));
-
if (debug > 1) {
fprintf(where,"netperf: send_omni: requesting OMNI test\n");
}
More information about the netperf-dev
mailing list