RPL DTSN increment log: fix format, promote from INFO to WARN
This commit is contained in:
parent
86ac0fba68
commit
dd8bf5d60a
@ -453,7 +453,7 @@ process_dio_from_current_dag(uip_ipaddr_t *from, rpl_dio_t *dio)
|
|||||||
if(curr_instance.mop != RPL_MOP_NO_DOWNWARD_ROUTES) {
|
if(curr_instance.mop != RPL_MOP_NO_DOWNWARD_ROUTES) {
|
||||||
if(nbr != NULL && nbr == curr_instance.dag.preferred_parent && rpl_lollipop_greater_than(dio->dtsn, last_dtsn)) {
|
if(nbr != NULL && nbr == curr_instance.dag.preferred_parent && rpl_lollipop_greater_than(dio->dtsn, last_dtsn)) {
|
||||||
RPL_LOLLIPOP_INCREMENT(curr_instance.dtsn_out);
|
RPL_LOLLIPOP_INCREMENT(curr_instance.dtsn_out);
|
||||||
LOG_INFO("DTSN increment %u->%u, schedule new DAO with DTSN %u",
|
LOG_WARN("DTSN increment %u->%u, schedule new DAO with DTSN %u\n",
|
||||||
last_dtsn, dio->dtsn, curr_instance.dtsn_out);
|
last_dtsn, dio->dtsn, curr_instance.dtsn_out);
|
||||||
rpl_timers_schedule_dao();
|
rpl_timers_schedule_dao();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user