optimization dhcp key state transition message

This commit is contained in:
xueyunfei 2020-12-22 11:20:09 +08:00 committed by bot
parent 728801883e
commit b50fca4aa0
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.
*/