src/internet-node/arp-l3-protocol.cc
changeset 1341 f685d4bf320f
parent 1333 c0d66de933e9
child 1365 4ae411ac425f
--- a/src/internet-node/arp-l3-protocol.cc	Sun Aug 12 16:27:42 2007 +0200
+++ b/src/internet-node/arp-l3-protocol.cc	Sun Aug 12 16:28:29 2007 +0200
@@ -58,12 +58,6 @@
   Object::DoDispose ();
 }
 
-Ptr<TraceResolver>
-ArpL3Protocol::CreateTraceResolver (void)
-{
-  return Create<EmptyTraceResolver> ();
-}
-
 ArpCache *
 ArpL3Protocol::FindCache (Ptr<NetDevice> device)
 {
@@ -75,7 +69,7 @@
 	}
     }
   Ptr<Ipv4L3Protocol> ipv4 = m_node->QueryInterface<Ipv4L3Protocol> (Ipv4L3Protocol::iid);
-  Ipv4Interface *interface = ipv4->FindInterfaceForDevice (device);
+  Ptr<Ipv4Interface> interface = ipv4->FindInterfaceForDevice (device);
   ArpCache * cache = new ArpCache (device, interface);
   NS_ASSERT (device->IsBroadcast ());
   device->SetLinkChangeCallback (MakeCallback (&ArpCache::Flush, cache));