rework the NetDevice <-> Node interface
This commit is contained in:
1 parent
f103b781bf
commit
8e2a107fde
16 files changed
+178
-122
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user