Skip to Content.
Sympa Menu

ndt-dev - [ndt-dev] [ndt] r1019 committed - Fix issue with Meta test depends from the Middlebox test

Subject: NDT-DEV email list created

List archive

[ndt-dev] [ndt] r1019 committed - Fix issue with Meta test depends from the Middlebox test


Chronological Thread 
  • From:
  • To:
  • Subject: [ndt-dev] [ndt] r1019 committed - Fix issue with Meta test depends from the Middlebox test
  • Date: Fri, 14 Mar 2014 09:46:07 +0000

Revision: 1019
Author:

Date: Fri Mar 14 09:45:44 2014 UTC
Log: Fix issue with Meta test depends from the Middlebox test
http://code.google.com/p/ndt/source/detail?r=1019

Modified:
/branches/Issue96/src/test_mid_srv.c
/branches/Issue96/src/web100srv.c

=======================================
--- /branches/Issue96/src/test_mid_srv.c Mon Oct 14 13:20:21 2013 UTC
+++ /branches/Issue96/src/test_mid_srv.c Fri Mar 14 09:45:44 2014 UTC
@@ -228,11 +228,6 @@
if (j == 4)
return RETRY_EXCEEDED_WAITING_DATA;
}
-
- // get meta test details copied into results
- memcpy(&meta.c_addr, &cli_addr, clilen);
- /* meta.c_addr = cli_addr; */
- meta.family = ((struct sockaddr *) &cli_addr)->sa_family;

buff[0] = '\0';
// get tcp_stat connection data
=======================================
--- /branches/Issue96/src/web100srv.c Wed Mar 12 06:27:30 2014 UTC
+++ /branches/Issue96/src/web100srv.c Fri Mar 14 09:45:44 2014 UTC
@@ -2172,6 +2172,11 @@
// socket interrupted, retry
if ((ctlsockfd == -1) && (errno == EINTR))
continue; // sig child
+
+ // get meta test details copied into results
+ memcpy(&meta.c_addr, &cli_addr, clilen);
+ meta.family = ((struct sockaddr *) &cli_addr)->sa_family;
+
size_t tmpstrlen = sizeof(tmpstr);
memset(tmpstr, 0, tmpstrlen);
// get addr details based on socket info available


  • [ndt-dev] [ndt] r1019 committed - Fix issue with Meta test depends from the Middlebox test, ndt, 03/14/2014

Archive powered by MHonArc 2.6.16.

Top of Page