From 3ebb1a2a0091b93a6a027ab3f3ab80810b0a91bf Mon Sep 17 00:00:00 2001 From: yuanjm Date: Mon, 25 Oct 2021 14:07:37 +0800 Subject: [PATCH] lwip: Update LWIP_DHCP_OPTIONS_LEN default value when LWIP_DHCP_DISABLE_VENDOR_CLASS_ID disabled Closes https://github.com/espressif/esp-idf/issues/7742 --- components/lwip/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/lwip/Kconfig b/components/lwip/Kconfig index 560598d1bf..e229f2212a 100644 --- a/components/lwip/Kconfig +++ b/components/lwip/Kconfig @@ -275,7 +275,8 @@ menu "LWIP" config LWIP_DHCP_OPTIONS_LEN int "DHCP total option length" - default 68 + default 68 if LWIP_DHCP_DISABLE_VENDOR_CLASS_ID + default 108 if !LWIP_DHCP_DISABLE_VENDOR_CLASS_ID range 68 255 help Set total length of outgoing DHCP option msg. Generally bigger value means it can carry more