-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[routing-manager] add
SetState()
in OnLinkPrefixManager
(#9273)
This commit adds `SetState()` method to the `OnLinkPrefixManager` class. This method allows the state of the on-link prefix manager to be changed in a single place, which simplifies the logging and makes it easier to take additional actions on state change. For example, the `SetState()` can be used to update the Advertising PIO (AP) flag in the published route in Network Data.
- Loading branch information
Showing
2 changed files
with
59 additions
and
37 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
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