mirror of
https://github.com/espressif/openthread.git
synced 2026-07-09 13:50:28 +00:00
eeb6ab0c8e
This commit updates `RoutingManager` to check if a change to xpanid does impact the generated local on-link prefix. This can address two situations: (1) when BR is started before Thread/MLE operation where we can get a signal that xpanid is changed on MLE start (without it actually changing), (2) if the xpanid does change but since not all the xpanid bytes are used in the derivation of the local prefix, it can remain as before. This commit also updates the unit test to start the BR early (along with MLE operation) under the `TestSavedOnLinkPrefixes()` case.