]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
net: lwip: enable debug traces for SNTP when CONFIG_LWIP_DEBUG is set
authorJerome Forissier <jerome.forissier@linaro.org>
Mon, 22 Sep 2025 09:35:41 +0000 (11:35 +0200)
committerJerome Forissier <jerome.forissier@linaro.org>
Tue, 30 Sep 2025 10:01:36 +0000 (12:01 +0200)
Now that SNTP is supported, enable SNTP debug traces when LWIP_DEBUG is
enabled. In particular, this allows to see which NTP servers are
received during DHCP.

Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
lib/lwip/u-boot/lwipopts.h

index 80b93ea172dbabe65930aef2f6fe96ddbce119c5..e8a2c9d7a0a6fff993122ded64c03fb1197769d1 100644 (file)
@@ -44,6 +44,7 @@
 #define DNS_DEBUG                       LWIP_DBG_ON
 #define IP6_DEBUG                       LWIP_DBG_OFF
 #define DHCP6_DEBUG                     LWIP_DBG_OFF
+#define SNTP_DEBUG                      LWIP_DBG_ON
 #endif
 
 #define LWIP_TESTMODE                   0