examples/tcp-star-server.cc
changeset 3381 3cdd9d60f7c7
parent 3367 8587b5520e63
child 4218 debf1a8a96d3
--- a/examples/tcp-star-server.cc	Thu Jul 03 09:44:23 2008 -0400
+++ b/examples/tcp-star-server.cc	Thu Jul 03 15:44:54 2008 -0700
@@ -106,8 +106,8 @@
   // 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"));
   std::vector<NetDeviceContainer> deviceAdjacencyList(N-1);
   for(uint32_t i=0; i<deviceAdjacencyList.size(); ++i)
   {