examples/csma-one-subnet.cc
changeset 3381 3cdd9d60f7c7
parent 3257 ba198dad54a2
child 3714 249ec8d21b24
--- a/examples/csma-one-subnet.cc	Thu Jul 03 09:44:23 2008 -0400
+++ b/examples/csma-one-subnet.cc	Thu Jul 03 15:44:54 2008 -0700
@@ -66,8 +66,8 @@
 
   NS_LOG_INFO ("Build Topology");
   CsmaHelper csma;
-  csma.SetChannelParameter ("DataRate", DataRateValue (5000000));
-  csma.SetChannelParameter ("Delay", TimeValue (MilliSeconds (2)));
+  csma.SetChannelAttribute ("DataRate", DataRateValue (5000000));
+  csma.SetChannelAttribute ("Delay", TimeValue (MilliSeconds (2)));
 //
 // Now fill out the topology by creating the net devices required to connect
 // the nodes to the channels and hooking them up.  AddIpv4CsmaNetDevice will