examples/simple-p2p.cc
changeset 493 68542941fc8a
parent 484 cf7fbb84d74b
child 503 38f16e0e5513
--- a/examples/simple-p2p.cc	Wed May 02 14:52:34 2007 +0200
+++ b/examples/simple-p2p.cc	Wed May 02 15:07:33 2007 +0200
@@ -118,7 +118,7 @@
   // Create the OnOff application to send UDP datagrams of size
   // 210 bytes at a rate of 448 Kb/s
   OnOffApplication* ooff0 = new OnOffApplication(
-    *n0, 
+    n0, 
     Ipv4Address("10.1.3.2"), 
     80, 
     ConstantVariable(1), 
@@ -133,7 +133,7 @@
 
   // Create a similar flow from n3 to n1, starting at time 1.1 seconds
   OnOffApplication* ooff1 = new OnOffApplication(
-    *n3, 
+    n3, 
     Ipv4Address("10.1.2.1"), 
     80, 
     ConstantVariable(1),