fix bug 122: get rid of duplicate argument to QueryInterface
This commit is contained in:
1 parent
6b0e717a19
commit
f3e77eea3d
31 files changed
+128
-121
No files matched your search
@@ -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 ());
|
||||
|
||||
Reference in new issue
Block a user