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:
Nicolas Tsiftes 2014-01-21 13:35:49 -08:00
commit 2e69d024a5

View File

@ -479,11 +479,11 @@ void uip_log(char *msg);
#ifdef UIP_CONF_TCP_MSS
#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
#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)
#else
#else /* UIP_CONF_TCP_MSS */
#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.