examples/second.cc
changeset 3995 9bda1a9c0eb2
parent 3994 6cc096bc0761
child 4028 13c1916747f2
--- a/examples/second.cc	Tue Dec 09 10:28:44 2008 -0800
+++ b/examples/second.cc	Tue Dec 09 12:04:36 2008 -0800
@@ -59,6 +59,8 @@
   p2pDevices = pointToPoint.Install (p2pNodes);
 
   CsmaHelper csma;
+  csma.SetChannelAttribute ("DataRate", StringValue ("100Mbps"));
+  csma.SetChannelAttribute ("Delay", TimeValue (NanoSeconds (6560)));
 
   NetDeviceContainer csmaDevices;
   csmaDevices = csma.Install (csmaNodes);