feat(openthread): disable lwip nd6 in openthread sleepy device

This commit is contained in:
xiaqilin
2023-07-07 19:25:14 +08:00
committed by BOT
parent 7f85830a3b
commit c84cbd5e65
4 changed files with 23 additions and 2 deletions

View File

@@ -1126,6 +1126,15 @@ static inline uint32_t timeout_from_offered(uint32_t lease, uint32_t min)
#define LWIP_IPV6 0
#endif
/**
* LWIP_ND6==1: Enable ND6 protocol in IPv6
*/
#ifdef CONFIG_LWIP_ND6
#define LWIP_ND6 1
#else
#define LWIP_ND6 0
#endif
/**
* LWIP_IPV6_NUM_ADDRESSES: Number of IPv6 addresses per netif.
*/