Fixed asimmetrical routes

This commit is contained in:
Kirill Andreev
2009-05-01 13:59:09 +04:00
parent 4a5151fd90
commit e90fd93821
2 changed files with 2 additions and 2 deletions

View File

@@ -477,7 +477,7 @@ HwmpProtocol::ReceivePrep (IePrep prep, Mac48Address from, uint32_t interface, M
}
else
{
if (i->second >= prep.GetOriginatorSeqNumber ())
if (i->second > prep.GetOriginatorSeqNumber ())
return;
else
m_lastHwmpSeqno[prep.GetOriginatorAddress ()] = prep.GetOriginatorSeqNumber();

View File

@@ -78,7 +78,7 @@ PeerManagerMacPlugin::Receive (Ptr<Packet> const_packet, const WifiMacHeader & h
WifiMeshActionHeader::ActionValue actionValue = actionHdr.GetAction ();
// If can not handle - just return;
if(actionHdr.GetCategory () != WifiMeshActionHeader::MESH_PEER_LINK_MGT)
return true;
return m_protocol->IsActiveLink(m_ifIndex,header.GetAddr2());
Mac48Address peerAddress = header.GetAddr2 ();
Mac48Address peerMpAddress = header.GetAddr3 ();
PeerLinkFrameStart::PlinkFrameStartFields fields;