Skip to content

Commit

Permalink
Merge pull request ARMmbed#2117 from ARMmbed/IOTTHD-3587
Browse files Browse the repository at this point in the history
RPL: trace new preferred parent
  • Loading branch information
Jarkko Paso authored Jun 18, 2019
2 parents b016d52 + 92d3a92 commit bd51f9f
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 @@ -1415,6 +1415,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 bd51f9f

Please sign in to comment.