mirror of
https://github.com/espressif/openthread.git
synced 2026-10-01 21:37:39 +00:00
[dhcp6-client] remove dhcp6 client api (#3287)
This commit is contained in:
@@ -200,9 +200,6 @@ typedef struct _MS_FILTER
|
||||
ULONG otCachedAddrCount;
|
||||
IN6_ADDR otLinkLocalAddr;
|
||||
otNetifAddress otAutoAddresses[OPENTHREAD_CONFIG_NUM_SLAAC_ADDRESSES];
|
||||
#if OPENTHREAD_ENABLE_DHCP6_CLIENT
|
||||
otDhcpAddress otDhcpAddresses[OPENTHREAD_CONFIG_NUM_DHCP_PREFIXES];
|
||||
#endif // OPENTHREAD_ENABLE_DHCP6_CLIENT
|
||||
|
||||
union
|
||||
{
|
||||
|
||||
@@ -70,7 +70,6 @@ RtlCopyBufferToMdl(
|
||||
#include <openthread/commissioner.h>
|
||||
#include <openthread/joiner.h>
|
||||
#include <openthread/dhcp6_server.h>
|
||||
#include <openthread/dhcp6_client.h>
|
||||
#include <common/code_utils.hpp>
|
||||
#include <openthread/platform/logging.h>
|
||||
#include <openthread/platform/logging-windows.h>
|
||||
|
||||
@@ -547,10 +547,6 @@ void otLwfStateChangedCallback(uint32_t aFlags, _In_ void *aContext)
|
||||
#if OPENTHREAD_ENABLE_DHCP6_SERVER
|
||||
otDhcp6ServerUpdate(pFilter->otCtx);
|
||||
#endif // OPENTHREAD_ENABLE_DHCP6_SERVER
|
||||
|
||||
#if OPENTHREAD_ENABLE_DHCP6_CLIENT
|
||||
otDhcp6ClientUpdate(pFilter->otCtx, pFilter->otDhcpAddresses, ARRAYSIZE(pFilter->otDhcpAddresses), NULL);
|
||||
#endif // OPENTHREAD_ENABLE_DHCP6_CLIENT
|
||||
}
|
||||
|
||||
if ((aFlags & OT_CHANGED_THREAD_ML_ADDR) != 0)
|
||||
|
||||
Reference in New Issue
Block a user