AodvProtocol in progress, doesn't work
This commit is contained in:
1 parent
6c7a56b7ba
commit
dfd1652a5c
4 files changed
+18
-7
No files matched your search
@@ -247,6 +247,7 @@ Ipv4RawSocketImpl::ForwardUp (Ptr<const Packet> p, Ipv4Header ipHeader, Ptr<NetD
|
||||
{
|
||||
return false;
|
||||
}
|
||||
NS_LOG_LOGIC ("src = " << m_src << " dst = " << m_dst);
|
||||
if ((m_src == Ipv4Address::GetAny () || ipHeader.GetDestination () == m_src) &&
|
||||
(m_dst == Ipv4Address::GetAny () || ipHeader.GetSource () == m_dst) &&
|
||||
ipHeader.GetProtocol () == m_protocol)
|
||||
|
||||
Reference in new issue
Block a user