mirror of
https://github.com/espressif/openthread.git
synced 2026-06-05 21:14:49 +00:00
322671e682
This commit updates `RoutingManager` to ensure to unpublish the old local on-link prefix being deprecated on ext PAN ID change if the ext PAN ID happens to change again before the previous deprecating prefix is expired. Note that the code supports retaining one old deprecating prefix entry since back-to-back ext pan ID change is not expected as a typical use-case. This commit also updates `test_routing_manager` to cover and test this scenario.