From 6caa389c4858817c6dbb4c0ea28dbefcde37dc74 Mon Sep 17 00:00:00 2001 From: goldsimon Date: Sun, 28 Mar 2010 10:50:05 +0000 Subject: [PATCH] Check IP_FRAG && IP_FRAG_USES_STATIC_BUF && LWIP_NETIF_TX_SINGLE_PBUF --- src/core/init.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/core/init.c b/src/core/init.c index 6b5cf60c..b5a9763e 100644 --- a/src/core/init.c +++ b/src/core/init.c @@ -181,6 +181,9 @@ #if LWIP_TCP && LWIP_NETIF_TX_SINGLE_PBUF && !TCP_OVERSIZE #error "LWIP_NETIF_TX_SINGLE_PBUF needs TCP_OVERSIZE enabled to create single-pbuf TCP packets" #endif +#if IP_FRAG && IP_FRAG_USES_STATIC_BUF && LWIP_NETIF_TX_SINGLE_PBUF + #error "LWIP_NETIF_TX_SINGLE_PBUF does not work with IP_FRAG_USES_STATIC_BUF==1 as that creates pbuf queues" +#endif /* Compile-time checks for deprecated options.