ROOT_RANK is now a macro function.
This commit is contained in:
parent
4739143126
commit
8078ef7705
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ new_dio_interval(rpl_dag_t *dag)
|
||||||
dag->version,
|
dag->version,
|
||||||
dag->dio_totint, dag->dio_totsend,
|
dag->dio_totint, dag->dio_totsend,
|
||||||
dag->dio_totrecv,dag->dio_intcurrent,
|
dag->dio_totrecv,dag->dio_intcurrent,
|
||||||
dag->rank == ROOT_RANK ? "BLUE" : "ORANGE");
|
dag->rank == ROOT_RANK(dag) ? "BLUE" : "ORANGE");
|
||||||
#endif /* RPL_CONF_STATS */
|
#endif /* RPL_CONF_STATS */
|
||||||
|
|
||||||
/* reset the redundancy counter */
|
/* reset the redundancy counter */
|
||||||
|
|
Loading…
Reference in a new issue