--- a/examples/simple-point-to-point-olsr.cc Thu Jul 03 09:44:23 2008 -0400
+++ b/examples/simple-point-to-point-olsr.cc Thu Jul 03 15:44:54 2008 -0700
@@ -93,12 +93,12 @@
// We create the channels first without any IP addressing information
NS_LOG_INFO ("Create channels.");
PointToPointHelper p2p;
- p2p.SetDeviceParameter ("DataRate", StringValue ("5Mbps"));
- p2p.SetChannelParameter ("Delay", StringValue ("2ms"));
+ p2p.SetDeviceAttribute ("DataRate", StringValue ("5Mbps"));
+ p2p.SetChannelAttribute ("Delay", StringValue ("2ms"));
NetDeviceContainer nd02 = p2p.Install (n02);
NetDeviceContainer nd12 = p2p.Install (n12);
- p2p.SetDeviceParameter ("DataRate", StringValue ("1500kbps"));
- p2p.SetChannelParameter ("Delay", StringValue ("10ms"));
+ p2p.SetDeviceAttribute ("DataRate", StringValue ("1500kbps"));
+ p2p.SetChannelAttribute ("Delay", StringValue ("10ms"));
NetDeviceContainer nd32 = p2p.Install (n32);
NetDeviceContainer nd34 = p2p.Install (n34);