add workaround to avoid LwIP bug
=> http://savannah.nongnu.org/bugs/?32417
This commit is contained in:
parent
e1c3ddbc8d
commit
cf503426bf
1 changed files with 5 additions and 0 deletions
|
@ -265,11 +265,16 @@ PACK_STRUCT_END
|
|||
#endif /* LWIP_EVENT_API */
|
||||
|
||||
/** Enabled extra-check for TCP_OVERSIZE if LWIP_DEBUG is enabled */
|
||||
#if 0
|
||||
#if TCP_OVERSIZE && defined(LWIP_DEBUG)
|
||||
#define TCP_OVERSIZE_DBGCHECK 1
|
||||
#else
|
||||
#define TCP_OVERSIZE_DBGCHECK 0
|
||||
#endif
|
||||
#else
|
||||
// workaround to avoid bug http://savannah.nongnu.org/bugs/?32417
|
||||
#define TCP_OVERSIZE_DBGCHECK 0
|
||||
#endif
|
||||
|
||||
/** Don't generate checksum on copy if CHECKSUM_GEN_TCP is disabled */
|
||||
#define TCP_CHECKSUM_ON_COPY (LWIP_CHECKSUM_ON_COPY && CHECKSUM_GEN_TCP)
|
||||
|
|
Loading…
Add table
Reference in a new issue