tutorial/tutorial-star.cc
changeset 2592 3ebf97150166
parent 2494 1c69ea12779c
child 2600 6c389d0c717d
--- a/tutorial/tutorial-star.cc	Tue Mar 11 11:35:26 2008 -0700
+++ b/tutorial/tutorial-star.cc	Tue Mar 11 13:30:12 2008 -0700
@@ -148,7 +148,7 @@
   uint16_t port = 7;
 
   Ptr<UdpEchoClient> client = 
-    CreateObjectWith<UdpEchoClient> ("Node", n0, 
+    CreateObject<UdpEchoClient> ("Node", n0, 
                                      "RemoteIpv4", Ipv4Address ("10.1.1.2"),
                                      "RemotePort", Uinteger (port), 
                                      "MaxPackets", Uinteger (1), 
@@ -157,7 +157,7 @@
   n0->AddApplication (client);
 
   Ptr<UdpEchoServer> server = 
-    CreateObjectWith<UdpEchoServer> ("Node", n1, 
+    CreateObject<UdpEchoServer> ("Node", n1, 
                                      "Port", Uinteger (port));
   n1->AddApplication (server);