mirror of
https://github.com/espressif/openthread.git
synced 2026-07-11 14:50:18 +00:00
130936579e
This commit changes how a mesh-local IPv6 address is stored in `Child` class. Instead of storing the entire IPv6 addresses (16 bytes), only the Interface Identifier (8 bytes) is saved. The full address is derived (when needed) using the mesh-local prefix from `Mle`. This reduces the memory required for storing registered IPv6 addresses in the child table. This commit also updates the unit test `test_child` to use mesh-local IPv6 address as part of the test and verify the behavior of new implementation.