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
1 changed files with 1 additions and 1 deletions
|
@ -383,7 +383,7 @@ uip_nd6_periodic(void)
|
||||||
if(uip_nd6_defrouter_list[i].used == 1) {
|
if(uip_nd6_defrouter_list[i].used == 1) {
|
||||||
router = &(uip_nd6_defrouter_list[i]);
|
router = &(uip_nd6_defrouter_list[i]);
|
||||||
if (timer_expired(&(router->lifetime))) {
|
if (timer_expired(&(router->lifetime))) {
|
||||||
uip_nd6_defrouter_rm(router);
|
;//uip_nd6_defrouter_rm(router);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue