Skip to content

Commit 4462ab9

Browse files
committed
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]>
1 parent bf82aa8 commit 4462ab9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/lwip/u-boot/lwipopts.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
#define DNS_DEBUG LWIP_DBG_ON
4545
#define IP6_DEBUG LWIP_DBG_OFF
4646
#define DHCP6_DEBUG LWIP_DBG_OFF
47+
#define SNTP_DEBUG LWIP_DBG_ON
4748
#endif
4849

4950
#define LWIP_TESTMODE 0

0 commit comments

Comments
 (0)