mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-22 10:30:13 +00:00
Merge pull request #380 from simonduq/fix-rpl-of0
Fixed printout that used deprectated rpl_parent_t structure
This commit is contained in:
commit
6dd9f2c37a
@ -127,10 +127,10 @@ best_parent(rpl_parent_t *p1, rpl_parent_t *p2)
|
|||||||
rpl_dag_t *dag;
|
rpl_dag_t *dag;
|
||||||
|
|
||||||
PRINTF("RPL: Comparing parent ");
|
PRINTF("RPL: Comparing parent ");
|
||||||
PRINT6ADDR(&p1->addr);
|
PRINT6ADDR(rpl_get_parent_ipaddr(p1));
|
||||||
PRINTF(" (confidence %d, rank %d) with parent ",
|
PRINTF(" (confidence %d, rank %d) with parent ",
|
||||||
p1->link_metric, p1->rank);
|
p1->link_metric, p1->rank);
|
||||||
PRINT6ADDR(&p2->addr);
|
PRINT6ADDR(rpl_get_parent_ipaddr(p2));
|
||||||
PRINTF(" (confidence %d, rank %d)\n",
|
PRINTF(" (confidence %d, rank %d)\n",
|
||||||
p2->link_metric, p2->rank);
|
p2->link_metric, p2->rank);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user