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

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