forked from openthread/openthread
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[mle] keep router table next hop and cost on REED to router promotion (…
…openthread#8657) This commit updates `MleRouter` such that on promotion from REED to router role, we keep the router table's next hop and cost as what we had as a REED, i.e., our parent being the next hop towards all other routers and we tracked its cost towards them. As an FED, device may have also established links with a subset of neighboring routers. We ensure to clear the link to these neighbor to avoid using them since the neighboring router will drop messages from us till we re-establish link using our new RLOC16.
- Loading branch information
Showing
1 changed file
with
18 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters