Author: simon Date: 2009-11-09 20:09:12 +0000 (Mon, 09 Nov 2009) New Revision: 1481
Modified: trunk/batman-adv-kernelland/routing.c Log: avoid (or at least decrease) route flapping in perfect environments
Modified: trunk/batman-adv-kernelland/routing.c =================================================================== --- trunk/batman-adv-kernelland/routing.c 2009-11-08 14:27:43 UTC (rev 1480) +++ trunk/batman-adv-kernelland/routing.c 2009-11-09 20:09:12 UTC (rev 1481) @@ -358,7 +358,7 @@ /* if the TQ is the same and the link not more symetric we won't consider it either */ if ((orig_node->router) && ((neigh_node->tq_avg == orig_node->router->tq_avg) && - (orig_node->router->orig_node->bcast_own_sum[if_incoming->if_num] > + (orig_node->router->orig_node->bcast_own_sum[if_incoming->if_num] >= neigh_node->orig_node->bcast_own_sum[if_incoming->if_num]))) goto update_hna;