Skip to content
Snippets Groups Projects
Commit 6dd9f2c3 authored by Nicolas Tsiftes's avatar Nicolas Tsiftes
Browse files

Merge pull request #380 from simonduq/fix-rpl-of0

Fixed printout that used deprectated rpl_parent_t structure
parents 35e93f3b 677b5ede
No related branches found
No related tags found
No related merge requests found
......@@ -127,10 +127,10 @@ best_parent(rpl_parent_t *p1, rpl_parent_t *p2)
rpl_dag_t *dag;
PRINTF("RPL: Comparing parent ");
PRINT6ADDR(&p1->addr);
PRINT6ADDR(rpl_get_parent_ipaddr(p1));
PRINTF(" (confidence %d, rank %d) with parent ",
p1->link_metric, p1->rank);
PRINT6ADDR(&p2->addr);
PRINT6ADDR(rpl_get_parent_ipaddr(p2));
PRINTF(" (confidence %d, rank %d)\n",
p2->link_metric, p2->rank);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment