examples/simple-point-to-point.cc
changeset 2231 a5b898c1ee2c
parent 2230 9f13ac3291e0
child 2257 71a58e70c671
--- a/examples/simple-point-to-point.cc	Wed Jan 02 09:09:24 2008 +0100
+++ b/examples/simple-point-to-point.cc	Wed Jan 02 09:25:31 2008 +0100
@@ -206,9 +206,9 @@
   // This will likely set by some global StaticRouting object in the future
   NS_LOG_INFO ("Set Default Routes.");
   Ptr<Ipv4> ipv4;
-  ipv4 = n0->QueryInterface<Ipv4> (Ipv4::iid);
+  ipv4 = n0->QueryInterface<Ipv4> ();
   ipv4->SetDefaultRoute (Ipv4Address ("10.1.1.2"), 1);
-  ipv4 = n3->QueryInterface<Ipv4> (Ipv4::iid);
+  ipv4 = n3->QueryInterface<Ipv4> ();
   ipv4->SetDefaultRoute (Ipv4Address ("10.1.3.1"), 1);
   
   // Configure tracing of all enqueue, dequeue, and NetDevice receive events