mirror of
https://github.com/espressif/openthread.git
synced 2026-08-08 11:47:46 +00:00
[net] move slaac module from utils to net (#11955)
This commit moves the `SlaacAddress` module from `src/core/utils` to `src/core/net`. This change also updates the namespace from `ot::Utils` to `ot::Ip6` and updates all includes and usages throughout the codebase. The `SlaacAddress` module was originally placed in `core/utils` as SLAAC management was historically handled by the platform. Now that the OpenThread stack manages SLAAC directly, this logic is better placed under `core/net`.
This commit is contained in:
@@ -135,7 +135,7 @@ Error DuaManager::GenerateDomainUnicastAddressIid(void)
|
||||
Error error;
|
||||
uint8_t dadCounter = mDadCounter;
|
||||
|
||||
if ((error = Get<Utils::Slaac>().GenerateIid(mDomainUnicastAddress, dadCounter)) == kErrorNone)
|
||||
if ((error = Get<Ip6::Slaac>().GenerateIid(mDomainUnicastAddress, dadCounter)) == kErrorNone)
|
||||
{
|
||||
if (dadCounter != mDadCounter)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user