From 99f6932cdf698eded545ffe13fa7854946c41ea1 Mon Sep 17 00:00:00 2001 From: blakelev Date: Wed, 15 Oct 2008 23:29:38 +0000 Subject: [PATCH] Removed one line to prevent the default router from being removed prematurely. This timer should not time out, but it does. --- core/net/uip-nd6.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/net/uip-nd6.c b/core/net/uip-nd6.c index 1ba0cada1..6e7a2ba89 100644 --- a/core/net/uip-nd6.c +++ b/core/net/uip-nd6.c @@ -383,7 +383,7 @@ uip_nd6_periodic(void) if(uip_nd6_defrouter_list[i].used == 1) { router = &(uip_nd6_defrouter_list[i]); if (timer_expired(&(router->lifetime))) { - uip_nd6_defrouter_rm(router); + ;//uip_nd6_defrouter_rm(router); } } }