examples/mixed-wireless.cc
changeset 3906 01acc159ffb1
parent 3894 6b3415c550e1
parent 3536 087b1b45b3b5
child 3912 4d1a61f80745
--- a/examples/mixed-wireless.cc	Sat Jun 14 10:52:10 2008 -0700
+++ b/examples/mixed-wireless.cc	Tue Oct 28 11:26:58 2008 +0100
@@ -116,9 +116,6 @@
   //
   cmd.Parse (argc, argv);
 
-  // The metadata system (off by default) is used by ascii tracing below
-  Packet::EnableMetadata ();
-
   /////////////////////////////////////////////////////////////////////////// 
   //                                                                       //
   // Construct the backbone                                                //
@@ -199,9 +196,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