Bugfix
authorKirill Andreev <andreev@iitp.ru>
Wed, 29 Apr 2009 20:01:23 +0400
changeset 4995 6a8113d46565
parent 4989 5f5b321b92d1
child 4996 33f418524356
Bugfix
src/devices/mesh/dot11s/hwmp-protocol.cc
--- a/src/devices/mesh/dot11s/hwmp-protocol.cc	Wed Apr 29 19:37:19 2009 +0400
+++ b/src/devices/mesh/dot11s/hwmp-protocol.cc	Wed Apr 29 20:01:23 2009 +0400
@@ -286,8 +286,12 @@
     //    root
     if(result.retransmitter == Mac48Address::GetBroadcast ())
       result = m_rtable->LookupProactiveExpired ();
-    std::vector<IePerr::FailedDestination> destinations = m_rtable->GetUnreachableDestinations (result.retransmitter);
-    MakePathError (destinations);
+    if(result.retransmitter != Mac48Address::GetBroadcast ())
+    {
+      std::vector<IePerr::FailedDestination> destinations = m_rtable->GetUnreachableDestinations (result.retransmitter);
+      MakePathError (destinations);
+    }
+    return false;
   }
   //Request a destination:
   result = m_rtable->LookupReactiveExpired (destination);