--- 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