Date: Thu, 15 Feb 2001 23:38:31 -0500 From: Wesley Eddy <weddy@masaka.cs.ohiou.edu> Subject: [nobody: Form data from the Web] Message-ID: <20010215233831.A28412@masaka.cs.ohiou.edu>
Shall we make this change and commit to cvs? Seems straightforward enough.
-Wes
----- Forwarded message from Nobody <nobody> -----
Date: Thu, 15 Feb 2001 08:13:29 -0500 (EST)
From: Nobody <nobody>
Subject: Form data from the Web
Precedence: bulk
The following data was entered at http://www.tcptrace.org/bugs.html:
email: karen.heron@WinComSystems.com
problem:
When using the filtering, found that it wasn't filtering on server throughput - no matter whether the filter specified server or client, it was always filtering on client throughput. Found this snippet of code in filter.c:
u_llong
VFuncClntTput(
tcp_pair *ptp)
{
return(VFuncTput(&ptp->a2b));
}
u_llong
VFuncServTput(
tcp_pair *ptp)
{
return(VFuncTput(&ptp->a2b));
}
Believe the problem is the VFuncServTput function should be:
u_llong
VFuncServTput(
tcp_pair *ptp)
{
return(VFuncTput(&ptp->b2a));
}
Rebuilt and tested this change, and it appears to work correctly.
----- End forwarded message -----
This archive was generated by hypermail 2b30 : 02/16/01 EST