From adc91965edc3c8b0f0735316d7e6cd2b39ea688e Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Mon, 19 Jan 2015 10:32:46 -0600 Subject: [PATCH] NSH library: Disable put and get commends of TFTP client is not enabled; disable wget command if web client is not enabled --- net/udp/udp_send.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/udp/udp_send.c b/net/udp/udp_send.c index e9fbf82da2..ab71fbdc34 100644 --- a/net/udp/udp_send.c +++ b/net/udp/udp_send.c @@ -107,7 +107,7 @@ void udp_send(FAR struct net_driver_s *dev, FAR struct udp_conn_s *conn) { FAR struct udp_hdr_s *udp; - nllvdbg("IP payload: %d bytes\n", dev->d_len); + nllvdbg("UDP payload: %d (%d) bytes\n", dev->d_sndlen, dev->d_len); if (dev->d_sndlen > 0) {