diff --git a/components/lwip/Kconfig b/components/lwip/Kconfig index 21b18bf323..d9324f83a0 100644 --- a/components/lwip/Kconfig +++ b/components/lwip/Kconfig @@ -859,6 +859,10 @@ menu "LWIP" bool "Enable ICMP debug messages" default n + config LWIP_DHCP_STATE_DEBUG + bool "Enable DHCP state tracking" + default n + config LWIP_DHCP_DEBUG bool "Enable DHCP debug messages" default n diff --git a/components/lwip/lwip b/components/lwip/lwip index 595aef0d20..9c62fd4e22 160000 --- a/components/lwip/lwip +++ b/components/lwip/lwip @@ -1 +1 @@ -Subproject commit 595aef0d2070a18df0f524dcdc36b792f1cbaf2a +Subproject commit 9c62fd4e229bf90f59c4ce803f049d99150f1e41 diff --git a/components/lwip/port/esp32/include/lwipopts.h b/components/lwip/port/esp32/include/lwipopts.h index 5f63fe3bd5..72c461c928 100644 --- a/components/lwip/port/esp32/include/lwipopts.h +++ b/components/lwip/port/esp32/include/lwipopts.h @@ -848,6 +848,12 @@ #define DHCP_DEBUG LWIP_DBG_OFF #endif +#ifdef CONFIG_LWIP_DHCP_STATE_DEBUG +#define ESP_DHCP_DEBUG LWIP_DBG_ON +#else +#define ESP_DHCP_DEBUG LWIP_DBG_OFF +#endif + /** * IP_DEBUG: Enable debugging for IP. */