diff --git a/include/netutils/httpd.h b/include/netutils/httpd.h index d14b6bf4d..5da5ff762 100644 --- a/include/netutils/httpd.h +++ b/include/netutils/httpd.h @@ -80,7 +80,7 @@ * buffer be sufficiently large to contain the entire GET request. */ -#define HTTPD_IOBUFFER_SIZE (3*UIP_TCP_MSS) +#define HTTPD_IOBUFFER_SIZE (3*TCP_MSS) /* This is the maximum size of a file path */ diff --git a/netutils/tftpc/tftpc_internal.h b/netutils/tftpc/tftpc_internal.h index 1a9601c63..436090193 100644 --- a/netutils/tftpc/tftpc_internal.h +++ b/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