summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJerome Forissier <[email protected]>2025-09-22 11:35:41 +0200
committerJerome Forissier <[email protected]>2025-09-30 12:01:36 +0200
commit4462ab9a0b559a45c2b3e2dfb3912303e3449c9b (patch)
tree91fa88d9ba4810db68298e46ad224d49e937916a /lib
parentbf82aa8ae07ef5573701fbf7bb924a3c9fb3d777 (diff)
net: lwip: enable debug traces for SNTP when CONFIG_LWIP_DEBUG is set
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 <[email protected]>
Diffstat (limited to 'lib')
-rw-r--r--lib/lwip/u-boot/lwipopts.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/lwip/u-boot/lwipopts.h b/lib/lwip/u-boot/lwipopts.h
index 80b93ea172d..e8a2c9d7a0a 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