added annotate when setting root and joining dag
This commit is contained in:
parent
e9234a8404
commit
68e9fb2a5c
1 changed files with 6 additions and 0 deletions
|
@ -202,6 +202,9 @@ rpl_set_root(uip_ipaddr_t *dag_id)
|
|||
PRINT6ADDR(&dag->dag_id);
|
||||
PRINTF("\n");
|
||||
|
||||
ANNOTATE("#A root=%u\n",dag->dag_id.u8[sizeof(dag->dag_id) - 1]);
|
||||
|
||||
|
||||
rpl_reset_dio_timer(dag, 1);
|
||||
|
||||
return dag;
|
||||
|
@ -513,6 +516,9 @@ join_dag(uip_ipaddr_t *from, rpl_dio_t *dio)
|
|||
PRINT6ADDR(&dag->dag_id);
|
||||
PRINTF("\n");
|
||||
|
||||
ANNOTATE("#A join=%u\n",dag->dag_id.u8[sizeof(dag->dag_id) - 1]);
|
||||
|
||||
|
||||
dag->default_lifetime = dio->default_lifetime;
|
||||
dag->lifetime_unit = dio->lifetime_unit;
|
||||
|
||||
|
|
Loading…
Reference in a new issue