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.
[routing-manager] update OMR prefix def-route flag when publishing `:…
…:/0` (openthread#9042) This commit adds a new mechanism to update the default route flag on the local OMR prefix based on whether or not the BR is publishing the `::/0` external route prefix. When `RoutePublisher` (the component that determines which route prefix to publish) decides to publish/unpublish the default route as `::/0`, it will inform `LocalOmrPrefix` (the component that manages when the local OMR prefix is added/removed in Thread Network Data) of the def-route flag to use. - If the local OMR prefix is not yet added, the def-route flag will be remembered to be used when/if it is added. - If the local OMR prefix is already added, the entry in Network Data is updated to use the new def-route flag. This change addresses a backward compatibility issue with devices running 1.2 or earlier Thread versions. These devices may not correctly parse or accept a zero-length `::/0` route prefix in the Network Data. Adding the default-route flag on the OMR prefix ensures that these devices can reach the border router that added the OMR prefix.
- Loading branch information
Showing
3 changed files
with
96 additions
and
52 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
Oops, something went wrong.