mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-22 10:30:13 +00:00
Just update the node rank and let rpl_process_parent_event take care of the rest
This commit is contained in:
parent
e3638d2791
commit
aeca16d01f
@ -508,7 +508,8 @@ dao_input(void)
|
||||
/* && uip_ds6_route_lookup(&prefix) == NULL*/) {
|
||||
PRINTF("RPL: Loop detected when receiving a unicast DAO from a node with a lower rank! (%u < %u)\n",
|
||||
DAG_RANK(p->rank, dag), DAG_RANK(dag->rank, dag));
|
||||
rpl_local_repair(dag);
|
||||
p->rank = INFINITE_RANK;
|
||||
p->updated = 1;
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user