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.