Fixed printout that used deprectated rpl_parent_t structure

This commit is contained in:
Simon Duquennoy 2013-10-08 14:46:55 +02:00
parent 4e1beb3ed3
commit 677b5ede16

View file

@ -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);