Removed one line to prevent the default router from being removed
prematurely. This timer should not time out, but it does.
This commit is contained in:
parent
778f51f445
commit
99f6932cdf
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user