mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-08-11 01:53:48 +08:00
Fixed default LWIP_SUPPORT_CUSTOM_PBUF setting for IPv6/frag
This commit is contained in:
@@ -43,7 +43,7 @@ extern "C" {
|
|||||||
/** Currently, the pbuf_custom code is only needed for one specific configuration
|
/** Currently, the pbuf_custom code is only needed for one specific configuration
|
||||||
* of IP_FRAG */
|
* of IP_FRAG */
|
||||||
#ifndef LWIP_SUPPORT_CUSTOM_PBUF
|
#ifndef LWIP_SUPPORT_CUSTOM_PBUF
|
||||||
#define LWIP_SUPPORT_CUSTOM_PBUF (IP_FRAG && !IP_FRAG_USES_STATIC_BUF && !LWIP_NETIF_TX_SINGLE_PBUF)
|
#define LWIP_SUPPORT_CUSTOM_PBUF ((IP_FRAG && !IP_FRAG_USES_STATIC_BUF && !LWIP_NETIF_TX_SINGLE_PBUF) || (LWIP_IPV6 && LWIP_IPV6_FRAG))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* @todo: We need a mechanism to prevent wasting memory in every pbuf
|
/* @todo: We need a mechanism to prevent wasting memory in every pbuf
|
||||||
|
|||||||
Reference in New Issue
Block a user