Skip to content

Commit

Permalink
RPL: trace new preferred parent
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarkko Paso committed Jun 17, 2019
1 parent 61f6f5b commit 92d3a92
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions source/RPL/rpl_upward.c
Original file line number Diff line number Diff line change
Expand Up @@ -1407,6 +1407,9 @@ void rpl_instance_run_parent_selection(rpl_instance_t *instance)

if (original_preferred != preferred_parent) {
protocol_stats_update(STATS_RPL_PARENT_CHANGE, 1);
if (preferred_parent) {
tr_debug("New preferred parent %s", trace_array(preferred_parent->ll_address, 16));
}
}

// Sets new preferred parent
Expand Down

0 comments on commit 92d3a92

Please sign in to comment.