--- a/tutorial/tutorial-star.cc Mon Apr 14 16:19:17 2008 -0700
+++ b/tutorial/tutorial-star.cc Thu Apr 17 13:42:25 2008 -0700
@@ -55,8 +55,8 @@
internet.Install (n);
PointToPointHelper p2p;
- p2p.SetChannelParameter ("BitRate", DataRate (38400));
- p2p.SetChannelParameter ("Delay", MilliSeconds (20));
+ p2p.SetChannelParameter ("BitRate", StringValue ("38400bps"));
+ p2p.SetChannelParameter ("Delay", StringValue ("20ms"));
NetDeviceContainer d01 = p2p.Install (n01);
NetDeviceContainer d02 = p2p.Install (n02);
@@ -89,9 +89,9 @@
UdpEchoClientHelper client;
client.SetRemote (i01.GetAddress (1), port);
- client.SetAppAttribute ("MaxPackets", Uinteger (1));
- client.SetAppAttribute ("Interval", Seconds (1.0));
- client.SetAppAttribute ("PacketSize", Uinteger (1024));
+ client.SetAppAttribute ("MaxPackets", UintegerValue (1));
+ client.SetAppAttribute ("Interval", StringValue ("1s"));
+ client.SetAppAttribute ("PacketSize", UintegerValue (1024));
apps = client.Install (n.Get (0));
apps.Start (Seconds (2.0));
apps.Stop (Seconds (10.0));