forked from openthread/openthread
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[routing-manager] check local on-link prefix in
IsAddressOnLink()
(o…
…penthread#10836) This commit adds `OnLinkPrefixManager::AddressMatchesLocalPrefix()` method, which checks whether a given address matches the current local on-link prefix only when the prefix is valid (being published, advertised, or deprecated by the BR). This method is used in `RxRaTracker::IsAddressOnLink()`, ensuring that the local prefix is always explicitly checked. This makes the check more robust and independent of whether `RxRaTracker` receives and tracks self-generated RAs.
- Loading branch information
Showing
2 changed files
with
15 additions
and
1 deletion.
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