From d273aeaa8581fff642e840f14ecd569e9eebc2fd Mon Sep 17 00:00:00 2001 From: Tom Henderson Date: Tue, 12 Jan 2010 21:12:52 -0800 Subject: [PATCH] [bug 690] remove inoperative NscTcp cwnd trace connect --- examples/tcp/tcp-nsc-lfn.cc | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/examples/tcp/tcp-nsc-lfn.cc b/examples/tcp/tcp-nsc-lfn.cc index eed82205f..df4911f40 100644 --- a/examples/tcp/tcp-nsc-lfn.cc +++ b/examples/tcp/tcp-nsc-lfn.cc @@ -42,12 +42,6 @@ using namespace ns3; NS_LOG_COMPONENT_DEFINE ("TcpNscLfn"); -static void -CwndTracer (uint32_t oldval, uint32_t newval) -{ - NS_LOG_INFO ("Moving cwnd from " << oldval << " to " << newval); -} - int main (int argc, char *argv[]) { @@ -137,10 +131,6 @@ int main (int argc, char *argv[]) clientApp.Stop (Seconds (runtime + 1.0 + i)); } - // Trace changes to the congestion window - Config::ConnectWithoutContext ("/NodeList/1/$ns3::NscTcpL4Protocol/SocketList/0/CongestionWindow", - MakeCallback (&CwndTracer)); - // This tells ns-3 to generate pcap traces. PointToPointHelper::EnablePcapAll ("tcp-nsc-lfn");