[dhcp6] add dhcp6 server support to NCP (#3128)

This commit is contained in:
Jonathan Hui
2018-10-08 15:42:11 -07:00
committed by GitHub
parent 461b1aec64
commit 2dea42cea6
2 changed files with 7 additions and 3 deletions
+7
View File
@@ -43,6 +43,9 @@
#if OPENTHREAD_ENABLE_CHILD_SUPERVISION
#include <openthread/child_supervision.h>
#endif
#if OPENTHREAD_ENABLE_DHCP6_SERVER
#include <openthread/dhcp6_server.h>
#endif
#include <openthread/diag.h>
#include <openthread/icmp6.h>
#if OPENTHREAD_ENABLE_JAM_DETECTION
@@ -3017,6 +3020,10 @@ void NcpBase::ProcessThreadChangedFlags(void)
#if OPENTHREAD_ENABLE_DHCP6_CLIENT
otDhcp6ClientUpdate(mInstance, mDhcpAddresses, OT_ARRAY_LENGTH(mDhcpAddresses), NULL);
#endif
#if OPENTHREAD_ENABLE_DHCP6_SERVER
otDhcp6ServerUpdate(mInstance);
#endif
}
mThreadChangedFlags &= ~threadFlag;
-3
View File
@@ -279,9 +279,6 @@ XFAIL_NCP_TESTS = \
test_coaps.py \
test_diag.py \
test_service.py \
Cert_5_2_05_AddressQuery.py \
Cert_5_3_08_ChildAddressSet.py \
Cert_5_3_09_AddressQuery.py \
Cert_5_3_10_AddressQuery.py \
Cert_8_1_01_Commissioning.py \
Cert_8_1_02_Commissioning.py \