examples/mixed-wireless.cc
changeset 3381 3cdd9d60f7c7
parent 3257 ba198dad54a2
child 3536 087b1b45b3b5
--- a/examples/mixed-wireless.cc	Thu Jul 03 09:44:23 2008 -0400
+++ b/examples/mixed-wireless.cc	Thu Jul 03 15:44:54 2008 -0700
@@ -200,9 +200,9 @@
       // collection.
       //
       CsmaHelper csma;
-      csma.SetChannelParameter ("DataRate", 
+      csma.SetChannelAttribute ("DataRate", 
         DataRateValue (DataRate (5000000)));
-      csma.SetChannelParameter ("Delay", TimeValue (MilliSeconds (2)));
+      csma.SetChannelAttribute ("Delay", TimeValue (MilliSeconds (2)));
       NetDeviceContainer lanDevices = csma.Install (lan);
       //
       // Add the IPv4 protocol stack to the new LAN nodes