changeset 2257 | 71a58e70c671 |
parent 2252 | 80595448707a |
child 2498 | e01570293b98 |
--- a/src/internet-node/arp-l3-protocol.cc Thu Jan 31 21:58:13 2008 +0100 +++ b/src/internet-node/arp-l3-protocol.cc Thu Jan 31 22:11:03 2008 +0100 @@ -80,7 +80,7 @@ return *i; } } - Ptr<Ipv4L3Protocol> ipv4 = m_node->QueryInterface<Ipv4L3Protocol> (); + Ptr<Ipv4L3Protocol> ipv4 = m_node->GetObject<Ipv4L3Protocol> (); Ptr<Ipv4Interface> interface = ipv4->FindInterfaceForDevice (device); ArpCache * cache = new ArpCache (device, interface); NS_ASSERT (device->IsBroadcast ());