Bugfix for BMF (thanks eric)
authorHenning Rogge <rogge@fgan.de>
Sat, 22 Nov 2008 18:56:02 +0000 (19:56 +0100)
committerHenning Rogge <rogge@fgan.de>
Sat, 22 Nov 2008 18:56:02 +0000 (19:56 +0100)
lib/bmf/src/NetworkInterfaces.c

index c5a49bb..4db0515 100644 (file)
@@ -792,7 +792,7 @@ void FindNeighbors(
       /* Calculate the link quality (ETX) of the link to the found neighbor */
       currEtx = walker->linkcost;
  
-      if (currEtx < LINK_COST_BROKEN)
+      if (currEtx >= LINK_COST_BROKEN)
       {
         OLSR_PRINTF(
           9,