mirror of
https://github.com/espressif/openthread.git
synced 2026-09-10 19:20:06 +00:00
[slaac] handle slaac internally (#3484)
This commit is contained in:
@@ -199,7 +199,6 @@ typedef struct _MS_FILTER
|
||||
IN6_ADDR otCachedAddr[OT_MAX_ADDRESSES];
|
||||
ULONG otCachedAddrCount;
|
||||
IN6_ADDR otLinkLocalAddr;
|
||||
otNetifAddress otAutoAddresses[OPENTHREAD_CONFIG_NUM_SLAAC_ADDRESSES];
|
||||
|
||||
union
|
||||
{
|
||||
|
||||
@@ -542,7 +542,6 @@ void otLwfStateChangedCallback(uint32_t aFlags, _In_ void *aContext)
|
||||
if ((aFlags & OT_CHANGED_THREAD_NETDATA) != 0)
|
||||
{
|
||||
LogVerbose(DRIVER_DEFAULT, "Filter %p received OT_CHANGED_THREAD_NETDATA", pFilter);
|
||||
otIp6SlaacUpdate(pFilter->otCtx, pFilter->otAutoAddresses, ARRAYSIZE(pFilter->otAutoAddresses), otIp6CreateRandomIid, NULL);
|
||||
}
|
||||
|
||||
if ((aFlags & OT_CHANGED_THREAD_ML_ADDR) != 0)
|
||||
|
||||
Reference in New Issue
Block a user