diff --git a/src/devices/mesh/dot11s/hwmp-protocol-mac.cc b/src/devices/mesh/dot11s/hwmp-protocol-mac.cc index 3b8b734f1..3434c84c9 100644 --- a/src/devices/mesh/dot11s/hwmp-protocol-mac.cc +++ b/src/devices/mesh/dot11s/hwmp-protocol-mac.cc @@ -355,8 +355,7 @@ HwmpProtocolMac::ForwardPerr (std::vector faile receivers.push_back (Mac48Address::GetBroadcast ()); } //Send Management frame - for (std::vector::const_iterator i = m_myPerr.receivers.begin (); i - != m_myPerr.receivers.end (); i++) + for (std::vector::const_iterator i = receivers.begin (); i != receivers.end (); i++) { hdr.SetAddr1 (*i); m_stats.txPerr++; diff --git a/src/devices/mesh/dot11s/hwmp-protocol.cc b/src/devices/mesh/dot11s/hwmp-protocol.cc index 0bf566ed6..05d7bd018 100644 --- a/src/devices/mesh/dot11s/hwmp-protocol.cc +++ b/src/devices/mesh/dot11s/hwmp-protocol.cc @@ -626,12 +626,12 @@ void HwmpProtocol::ReceivePerr (std::vector destinations, Mac48Address from, uint32_t interface, Mac48Address fromMp) { //Acceptance cretirea: - NS_LOG_DEBUG("I am "< 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) ||