diff -r 4e8cb1577144 -r 4b28e9740e3b tutorial/tutorial-star-routing.cc --- a/tutorial/tutorial-star-routing.cc Mon Apr 14 16:19:17 2008 -0700 +++ b/tutorial/tutorial-star-routing.cc Thu Apr 17 13:42:25 2008 -0700 @@ -56,8 +56,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); @@ -90,9 +90,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));