--- a/examples/tcp/tcp-nsc-lfn.cc Fri Jan 15 17:48:18 2010 +0100
+++ b/examples/tcp/tcp-nsc-lfn.cc Tue Jan 12 21:12:52 2010 -0800
@@ -42,12 +42,6 @@
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 @@
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");