Skip to Content.
Sympa Menu

ndt-dev - [ndt-dev] [ndt] r771 committed - Fix for Issue 61

Subject: NDT-DEV email list created

List archive

[ndt-dev] [ndt] r771 committed - Fix for Issue 61


Chronological Thread 
  • From:
  • To:
  • Subject: [ndt-dev] [ndt] r771 committed - Fix for Issue 61
  • Date: Wed, 02 May 2012 17:13:39 +0000

Revision: 771
Author:

Date: Wed May 2 10:13:30 2012
Log: Fix for Issue 61
http://code.google.com/p/ndt/source/detail?r=771

Modified:
/trunk/Applet/Tcpbw100.java
/trunk/src/web100clt.c

=======================================
--- /trunk/Applet/Tcpbw100.java Mon Apr 30 13:46:39 2012
+++ /trunk/Applet/Tcpbw100.java Wed May 2 10:13:30 2012
@@ -3554,8 +3554,8 @@
* and puts the values into the proper variable. It then compares the values
* to known values and writes out the specific results.
*
- * server data is first order is Server IP; Client IP; CurrentMSS;
- * WinScaleRcvd; WinScaleSent; Client then adds Server IP; Client IP.
+ * server data is ordered as: Server IP; Client IP; CurrentMSS;
+ * WinScaleSent; WinScaleRcvd; Client then adds Server IP; Client IP.
*
* @param sMidBoxTestResParam
* String Middlebox results
@@ -3575,10 +3575,9 @@
pub_clientIP = sClientIp;

int iMss = Integer.parseInt(tokens.nextToken());
- int iWinsRecv = Integer.parseInt(tokens.nextToken()); //
unused, but
-
// retaining
- int iWinsSent = Integer.parseInt(tokens.nextToken()); //
unused, but
-
// retaining
+ // changing order for issue 61
+ int iWinsSent = Integer.parseInt(tokens.nextToken());
+ int iWinsRecv = Integer.parseInt(tokens.nextToken()); // unused, but retaining

// Get Client reported server IP
String sClientSideServerIp = tokens.nextToken();
=======================================
--- /trunk/src/web100clt.c Mon Apr 30 13:46:39 2012
+++ /trunk/src/web100clt.c Wed May 2 10:13:30 2012
@@ -265,9 +265,9 @@
str = strtok(NULL, ";");
mss = atoi(str);
str = strtok(NULL, ";");
- winsrecv = atoi(str);
+ winssent = atoi(str); // changing order to read winsent before winsrecv for issue 61
str = strtok(NULL, ";");
- winssent = atoi(str);
+ winsrecv = atoi(str);

memset(ccip, 0, 64);
tmpLen = 63;


  • [ndt-dev] [ndt] r771 committed - Fix for Issue 61, ndt, 05/02/2012

Archive powered by MHonArc 2.6.16.

Top of Page