[Olsr-dev] [PATCH 2/4] smart gateway: do not stop choosing a new (better) gateway

Ferry Huberts (spam-protected)
Tue Dec 6 10:14:58 CET 2011


From: Ferry Huberts <(spam-protected)>

Signed-off-by: Ferry Huberts <(spam-protected)>
---
 src/gateway_default_handler.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/src/gateway_default_handler.c b/src/gateway_default_handler.c
index a18dba8..50986b3 100644
--- a/src/gateway_default_handler.c
+++ b/src/gateway_default_handler.c
@@ -76,12 +76,6 @@ static void gw_default_choose_gateway(void) {
   if (inet_ipv6 && !dual) {
     olsr_set_inet_gateway(&inet_ipv6->originator, false, true, false);
   }
-
-  /* finished ? */
-  if (gw_def_finished_ipv4 && gw_def_finished_ipv6) {
-    olsr_stop_timer(gw_def_timer);
-    gw_def_timer = NULL;
-  }
 }
 
 /* timer for lazy gateway selection */
-- 
1.7.7.3





More information about the Olsr-dev mailing list