[slaac] handle slaac internally (#3484)

This commit is contained in:
Yakun Xu
2019-01-22 23:34:26 -08:00
committed by Jonathan Hui
parent 26c5d0ecb8
commit 3fabc4660c
9 changed files with 21 additions and 48 deletions
-1
View File
@@ -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
{
-1
View File
@@ -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)