summaryrefslogtreecommitdiff
path: root/apps/netutils
diff options
context:
space:
mode:
Diffstat (limited to 'apps/netutils')
-rw-r--r--apps/netutils/tftpc/tftpc_internal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/netutils/tftpc/tftpc_internal.h b/apps/netutils/tftpc/tftpc_internal.h
index 1a9601c63..436090193 100644
--- a/apps/netutils/tftpc/tftpc_internal.h
+++ b/apps/netutils/tftpc/tftpc_internal.h
@@ -91,8 +91,8 @@
#define TFTP_DATAHEADERSIZE 4
#define TFTP_MAXPACKETSIZE (TFTP_DATAHEADERSIZE+512)
-#if UIP_UDP_MSS < TFTP_MAXPACKETSIZE
-# define TFTP_PACKETSIZE UIP_UDP_MSS
+#if UDP_MSS < TFTP_MAXPACKETSIZE
+# define TFTP_PACKETSIZE UDP_MSS
# ifdef CONFIG_CPP_HAVE_WARNING
# warning "uIP MSS is too small for TFTP"
# endif