Merge pull request #505 from adamdunkels/push/fix-the-fix-that-fixes-the-fix
Fix the bug in the IPv6 bugfix
This commit is contained in:
commit
2e69d024a5
|
@ -479,11 +479,11 @@ void uip_log(char *msg);
|
||||||
#ifdef UIP_CONF_TCP_MSS
|
#ifdef UIP_CONF_TCP_MSS
|
||||||
#if UIP_CONF_TCP_MSS > (UIP_BUFSIZE - UIP_LLH_LEN - UIP_TCPIP_HLEN)
|
#if UIP_CONF_TCP_MSS > (UIP_BUFSIZE - UIP_LLH_LEN - UIP_TCPIP_HLEN)
|
||||||
#error UIP_CONF_TCP_MSS is too large for the current UIP_BUFSIZE
|
#error UIP_CONF_TCP_MSS is too large for the current UIP_BUFSIZE
|
||||||
#endif /* UIP_CONF_TCP_MSS < (UIP_BUFSIZE - UIP_LLH_LEN - UIP_TCPIP_HLEN) */
|
#endif /* UIP_CONF_TCP_MSS > (UIP_BUFSIZE - UIP_LLH_LEN - UIP_TCPIP_HLEN) */
|
||||||
#define UIP_TCP_MSS (UIP_CONF_TCP_MSS)
|
#define UIP_TCP_MSS (UIP_CONF_TCP_MSS)
|
||||||
#else
|
#else /* UIP_CONF_TCP_MSS */
|
||||||
#define UIP_TCP_MSS (UIP_BUFSIZE - UIP_LLH_LEN - UIP_TCPIP_HLEN)
|
#define UIP_TCP_MSS (UIP_BUFSIZE - UIP_LLH_LEN - UIP_TCPIP_HLEN)
|
||||||
#endif
|
#endif /* UIP_CONF_TCP_MSS */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The size of the advertised receiver's window.
|
* The size of the advertised receiver's window.
|
||||||
|
|
Loading…
Reference in a new issue