examples/naming/object-names.cc
changeset 7256 b04ba6772f8c
parent 7089 ebe626d82692
--- a/examples/naming/object-names.cc	Sun May 22 23:17:41 2011 -0700
+++ b/examples/naming/object-names.cc	Sun May 22 23:18:47 2011 -0700
@@ -81,7 +81,7 @@
   internet.Install (n);
 
   CsmaHelper csma;
-  csma.SetChannelAttribute ("DataRate", DataRateValue (DataRate(5000000)));
+  csma.SetChannelAttribute ("DataRate", DataRateValue (DataRate (5000000)));
   csma.SetChannelAttribute ("Delay", TimeValue (MilliSeconds (2)));
   csma.SetDeviceAttribute ("Mtu", UintegerValue (1400));
   NetDeviceContainer d = csma.Install (n);