fix bug 122: get rid of duplicate argument to QueryInterface

This commit is contained in:
Mathieu Lacage committed 2008-01-02 09:25:31 +01:00
1 parent 6b0e717a19
commit f3e77eea3d
31 files changed
+128 -121

No files matched your search

+1 -1
View File
@@ -71,7 +71,7 @@ ArpL3Protocol::FindCache (Ptr<NetDevice> device)
return *i;
}
}
Ptr<Ipv4L3Protocol> ipv4 = m_node->QueryInterface<Ipv4L3Protocol> (Ipv4L3Protocol::iid);
Ptr<Ipv4L3Protocol> ipv4 = m_node->QueryInterface<Ipv4L3Protocol> ();
Ptr<Ipv4Interface> interface = ipv4->FindInterfaceForDevice (device);
ArpCache * cache = new ArpCache (device, interface);
NS_ASSERT (device->IsBroadcast ());