mirror of
https://github.com/espressif/openthread.git
synced 2026-08-08 11:47:46 +00:00
[dua] fix missing error indication when building DUA functionality (#6960)
This commit introduces compilation error for building DUA without SLAAC dependency.
This commit is contained in:
@@ -42,6 +42,10 @@
|
||||
#error "Thread 1.2 or higher version is required for OPENTHREAD_CONFIG_DUA_ENABLE"
|
||||
#endif
|
||||
|
||||
#if OPENTHREAD_CONFIG_DUA_ENABLE && !OPENTHREAD_CONFIG_IP6_SLAAC_ENABLE
|
||||
#error "OPENTHREAD_CONFIG_IP6_SLAAC_ENABLE is required for OPENTHREAD_CONFIG_DUA_ENABLE"
|
||||
#endif
|
||||
|
||||
#include "backbone_router/bbr_leader.hpp"
|
||||
#include "coap/coap.hpp"
|
||||
#include "coap/coap_message.hpp"
|
||||
|
||||
Reference in New Issue
Block a user