examples/udp-echo.cc
changeset 3381 3cdd9d60f7c7
parent 3257 ba198dad54a2
child 3382 d5f8e5fae1c6
--- a/examples/udp-echo.cc	Thu Jul 03 09:44:23 2008 -0400
+++ b/examples/udp-echo.cc	Thu Jul 03 15:44:54 2008 -0700
@@ -87,8 +87,8 @@
 // Explicitly create the channels required by the topology (shown above).
 //
   CsmaHelper csma;
-  csma.SetChannelParameter ("DataRate", DataRateValue (DataRate(5000000)));
-  csma.SetChannelParameter ("Delay", TimeValue (MilliSeconds (2)));
+  csma.SetChannelAttribute ("DataRate", DataRateValue (DataRate(5000000)));
+  csma.SetChannelAttribute ("Delay", TimeValue (MilliSeconds (2)));
   NetDeviceContainer d = csma.Install (n);
 
   Ipv4AddressHelper ipv4;