mirror of
https://github.com/espressif/openthread.git
synced 2026-06-05 21:14:49 +00:00
34dd612008
This commit implements a mechanism in `RoutingManager` to learn the Managed Address Config `M` and Other Config `O` flags in received RA message from discovered routers on the infrastructure link and copy the same flags in the emitted RA message from BR. If any discovered router on the infrastructure that is not itself a stub router (i.e., does not include the Stub Router flag) includes the `M` or `O` flags, the same flag are included in the emitted RA message. If a discovered router has failed to respond to the maximum number of NS probe attempts, we consider it as offline and ignore its flags. This commit also adds a detailed test case in `test_routing_manager` to validate the newly added mechanism.