Bugfix
This commit is contained in:
@@ -355,8 +355,7 @@ HwmpProtocolMac::ForwardPerr (std::vector<HwmpProtocol::FailedDestination> faile
|
||||
receivers.push_back (Mac48Address::GetBroadcast ());
|
||||
}
|
||||
//Send Management frame
|
||||
for (std::vector<Mac48Address>::const_iterator i = m_myPerr.receivers.begin (); i
|
||||
!= m_myPerr.receivers.end (); i++)
|
||||
for (std::vector<Mac48Address>::const_iterator i = receivers.begin (); i != receivers.end (); i++)
|
||||
{
|
||||
hdr.SetAddr1 (*i);
|
||||
m_stats.txPerr++;
|
||||
|
||||
@@ -626,12 +626,12 @@ void
|
||||
HwmpProtocol::ReceivePerr (std::vector<FailedDestination> destinations, Mac48Address from, uint32_t interface, Mac48Address fromMp)
|
||||
{
|
||||
//Acceptance cretirea:
|
||||
NS_LOG_DEBUG("I am "<<GetAddress ()<<", received PERR from "<<from);
|
||||
NS_LOG_DEBUG ("I am "<<GetAddress ()<<", received PERR from "<<from);
|
||||
std::vector<FailedDestination> retval;
|
||||
HwmpRtable::LookupResult result;
|
||||
for (unsigned int i = 0; i < destinations.size (); i ++)
|
||||
{
|
||||
result = m_rtable->LookupReactive (destinations[i].destination);
|
||||
result = m_rtable->LookupReactiveExpired (destinations[i].destination);
|
||||
if (!(
|
||||
(result.retransmitter != from) ||
|
||||
(result.ifIndex != interface) ||
|
||||
|
||||
Reference in New Issue
Block a user