mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-11 00:24:34 +02:00
Merge branch 'feature/lwip_dns_debug_logs' into 'master'
lw-IP: Add DNS debug option. Closes IDFGH-7076 See merge request espressif/esp-idf!17668
This commit is contained in:
@@ -1063,4 +1063,9 @@ menu "LWIP"
|
||||
depends on LWIP_DEBUG
|
||||
default n
|
||||
|
||||
config LWIP_DNS_DEBUG
|
||||
bool "Enable DNS debug messages"
|
||||
depends on LWIP_DEBUG
|
||||
default n
|
||||
|
||||
endmenu
|
||||
|
@@ -1232,6 +1232,15 @@
|
||||
#define SNTP_DEBUG LWIP_DBG_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
* DNS_DEBUG: Enable debugging for DNS.
|
||||
*/
|
||||
#ifdef CONFIG_LWIP_DNS_DEBUG
|
||||
#define DNS_DEBUG LWIP_DBG_ON
|
||||
#else
|
||||
#define DNS_DEBUG LWIP_DBG_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
* MEMP_DEBUG: Enable debugging in memp.c.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user