mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-07 05:30:14 +00:00
Minor change (ident, remove comment, change trace text)
This commit is contained in:
parent
c671f8e7ef
commit
384ae9c407
@ -106,7 +106,7 @@ lwip_sanity_check()
|
|||||||
#endif /* LWIP_NETCONN */
|
#endif /* LWIP_NETCONN */
|
||||||
#if LWIP_TCP
|
#if LWIP_TCP
|
||||||
if (MEMP_NUM_TCP_SEG < TCP_SND_QUEUELEN)
|
if (MEMP_NUM_TCP_SEG < TCP_SND_QUEUELEN)
|
||||||
LWIP_PLATFORM_DIAG(("MEMP_NUM_TCP_SEG should be at least as big as TCP_SND_QUEUELEN\n"));
|
LWIP_PLATFORM_DIAG(("lwip_sanity_check: WARNING: MEMP_NUM_TCP_SEG should be at least as big as TCP_SND_QUEUELEN\n"));
|
||||||
if (TCP_SND_QUEUELEN < (2 * (TCP_SND_BUF/TCP_MSS)))
|
if (TCP_SND_QUEUELEN < (2 * (TCP_SND_BUF/TCP_MSS)))
|
||||||
LWIP_PLATFORM_DIAG(("lwip_sanity_check: WARNING: TCP_SND_QUEUELEN must be at least as much as (2 * TCP_SND_BUF/TCP_MSS) for things to work\n"));
|
LWIP_PLATFORM_DIAG(("lwip_sanity_check: WARNING: TCP_SND_QUEUELEN must be at least as much as (2 * TCP_SND_BUF/TCP_MSS) for things to work\n"));
|
||||||
if (TCP_SNDLOWAT > TCP_SND_BUF)
|
if (TCP_SNDLOWAT > TCP_SND_BUF)
|
||||||
@ -116,9 +116,6 @@ lwip_sanity_check()
|
|||||||
if (TCP_WND < TCP_MSS)
|
if (TCP_WND < TCP_MSS)
|
||||||
LWIP_PLATFORM_DIAG(("lwip_sanity_check: WARNING: TCP_WND is smaller than MSS\n"));
|
LWIP_PLATFORM_DIAG(("lwip_sanity_check: WARNING: TCP_WND is smaller than MSS\n"));
|
||||||
#endif /* LWIP_TCP */
|
#endif /* LWIP_TCP */
|
||||||
|
|
||||||
/** @todo integrate these checks (from task #7142 : Sanity check user-configurable values) :
|
|
||||||
- Perhaps do range checking on some values? */
|
|
||||||
}
|
}
|
||||||
#else /* LWIP_DEBUG */
|
#else /* LWIP_DEBUG */
|
||||||
#define lwip_sanity_check()
|
#define lwip_sanity_check()
|
||||||
|
Loading…
Reference in New Issue
Block a user