AodvProtocol in progress, doesn't work

This commit is contained in:
Pavel Boyko
2009-07-14 16:05:23 +04:00
parent 6c7a56b7ba
commit dfd1652a5c
4 changed files with 18 additions and 7 deletions

View File

@@ -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)