fixed format of transit subopt

This commit is contained in:
Joakim Eriksson 2011-03-01 12:33:34 +01:00
parent 7f3c198a78
commit fa0fbf5dab
2 changed files with 13 additions and 8 deletions

View file

@ -205,7 +205,8 @@ handle_dao_timer(void *ptr)
fan-out as being under investigation. */
if(dag->preferred_parent != NULL) {
PRINTF("RPL: handle_dao_timer - sending DAO\n");
dao_output(dag->preferred_parent, DEFAULT_ROUTE_LIFETIME);
/* set time to maxtime */
dao_output(dag->preferred_parent, dag->lifetime_unit * 0xffUL);
} else {
PRINTF("RPL: Could not find a parent to send a DAO to \n");
}