mirror of
https://github.com/espressif/esp-idf.git
synced 2024-09-19 14:26:01 -04:00
lwip/config: add menuconfig option for setting LWIP_IPV6_DUP_DETECT_ATTEMPTS
In my network, ipv6 address allocation to esp32 was unreliable. I'd to disable LWIP_IPV6_DUP_DETECT_ATTEMPTS to 0 to actually make esp32 ipv6 address assignment work reliably. Signed-off-by: Amitesh Singh <singh.amitesh@gmail.com>
This commit is contained in:
parent
d29e53dc0c
commit
2dc19b3b77
@ -179,6 +179,13 @@ menu "LWIP"
|
||||
help
|
||||
Set the maximum amount of pbufs waiting to be reassembled.
|
||||
|
||||
config LWIP_IPV6_DUP_DETECT_ATTEMPTS
|
||||
int "Number of duplicate address detection attempts"
|
||||
range 0 7
|
||||
default 0
|
||||
help
|
||||
Set the number of duplicate address detection attempts.
|
||||
|
||||
config LWIP_IP_FORWARD
|
||||
bool "Enable IP forwarding"
|
||||
default n
|
||||
|
@ -1192,6 +1192,11 @@ static inline uint32_t timeout_from_offered(uint32_t lease, uint32_t min)
|
||||
*/
|
||||
#define LWIP_ND6_NUM_NEIGHBORS CONFIG_LWIP_IPV6_ND6_NUM_NEIGHBORS
|
||||
|
||||
/**
|
||||
* LWIP_IPV6_DUP_DETECT_ATTEMPTS: Number of duplicate address detection attempts
|
||||
*/
|
||||
#define LWIP_IPV6_DUP_DETECT_ATTEMPTS CONFIG_LWIP_IPV6_DUP_DETECT_ATTEMPTS
|
||||
|
||||
/*
|
||||
---------------------------------------
|
||||
---------- Hook options ---------------
|
||||
|
Loading…
Reference in New Issue
Block a user