[PATCH 1/3] net: lwip: enable debug traces for SNTP when CONFIG_LWIP_DEBUG is set

Jerome Forissier jerome.forissier at linaro.org
Mon Sep 22 11:35:41 CEST 2025


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 at linaro.org>
---

 lib/lwip/u-boot/lwipopts.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/lwip/u-boot/lwipopts.h b/lib/lwip/u-boot/lwipopts.h
index 80b93ea172db..e8a2c9d7a0a6 100644
--- a/lib/lwip/u-boot/lwipopts.h
+++ b/lib/lwip/u-boot/lwipopts.h
@@ -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
-- 
2.48.1



More information about the U-Boot mailing list