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
This commit is contained in:
yuanjm
2021-10-25 14:07:37 +08:00
parent 4fca21b67c
commit 3ebb1a2a00

View File

@@ -275,7 +275,8 @@ menu "LWIP"
config LWIP_DHCP_OPTIONS_LEN config LWIP_DHCP_OPTIONS_LEN
int "DHCP total option length" 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 range 68 255
help help
Set total length of outgoing DHCP option msg. Generally bigger value means it can carry more Set total length of outgoing DHCP option msg. Generally bigger value means it can carry more