rework the NetDevice <-> Node interface

This commit is contained in:
Mathieu Lacage committed 2007-08-01 08:58:18 +02:00
1 parent f103b781bf
commit 8e2a107fde
16 files changed
+178 -122

No files matched your search

+1 -1
View File
@@ -44,7 +44,7 @@ void
Ipv4LoopbackInterface::SendTo (Packet packet, Ipv4Address dest)
{
Ptr<Ipv4L3Protocol> ipv4 = m_node->QueryInterface<Ipv4L3Protocol> (Ipv4L3Protocol::iid);
ipv4->Receive (packet, Ipv4L3Protocol::PROT_NUMBER, GetDevice ());
ipv4->Receive (GetDevice (), packet, Ipv4L3Protocol::PROT_NUMBER, GetDevice ()->GetAddress ());
}
}//namespace ns3