Skip to content

Commit 92d3a92

Browse files
author
Jarkko Paso
committed
RPL: trace new preferred parent
1 parent 61f6f5b commit 92d3a92

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

source/RPL/rpl_upward.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1407,6 +1407,9 @@ void rpl_instance_run_parent_selection(rpl_instance_t *instance)
14071407

14081408
if (original_preferred != preferred_parent) {
14091409
protocol_stats_update(STATS_RPL_PARENT_CHANGE, 1);
1410+
if (preferred_parent) {
1411+
tr_debug("New preferred parent %s", trace_array(preferred_parent->ll_address, 16));
1412+
}
14101413
}
14111414

14121415
// Sets new preferred parent

0 commit comments

Comments
 (0)