Merge branch 'optimization/dhcp_key_state_transition_message' into 'master'

lw-ip:optimization dhcp key state transition message

Closes WIFI-2037

See merge request espressif/esp-idf!8346
This commit is contained in:
Jiang Jiang Jian 2021-01-25 17:43:34 +08:00
commit 68916df92c
3 changed files with 11 additions and 1 deletions

View File

@ -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

@ -1 +1 @@
Subproject commit 595aef0d2070a18df0f524dcdc36b792f1cbaf2a
Subproject commit 9c62fd4e229bf90f59c4ce803f049d99150f1e41

View File

@ -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.
*/