Skip to content

Commit

Permalink
lwip: Update LWIP_DHCP_OPTIONS_LEN default value when LWIP_DHCP_DISAB…
Browse files Browse the repository at this point in the history
…LE_VENDOR_CLASS_ID disabled

Closes espressif#7742
  • Loading branch information
ESP-YJM committed Dec 3, 2021
1 parent 4fca21b commit 3ebb1a2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/lwip/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3ebb1a2

Please sign in to comment.