AodvProtocol in progress, doesn't work
This commit is contained in:
@@ -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