Merge branch 'feature/update_option_len_default_value' into 'master'

lw-ip: Update LWIP_DHCP_OPTIONS_LEN default value when LWIP_DHCP_DISABLE_VENDOR_CLASS_ID disabled

Closes IDFGH-6064 and IDFGH-6059

See merge request espressif/esp-idf!15623
This commit is contained in:
David Čermák
2021-12-02 05:55:59 +00:00

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