aboutsummaryrefslogtreecommitdiffstats
path: root/core/lwip/src/include/lwipopts.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-09-17 17:25:36 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-09-17 17:25:36 -0700
commit15f7490b3f0bf98d305a6bc221d0ca5bc2ffa3c6 (patch)
treee1439bddcbdcacb2116ef59fe6272b4a7a2918af /core/lwip/src/include/lwipopts.h
parentb46a939e45d6f7968a4684fc4e587f1b9cd73904 (diff)
downloadlwip-15f7490b3f0bf98d305a6bc221d0ca5bc2ffa3c6.tar.gz
lwip-15f7490b3f0bf98d305a6bc221d0ca5bc2ffa3c6.tar.xz
lwip-15f7490b3f0bf98d305a6bc221d0ca5bc2ffa3c6.zip
Make sure TCP_WND is < 64K-TCP_MSS
Avoid an error "len would wrap tcp_wnd" Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'core/lwip/src/include/lwipopts.h')
-rw-r--r--core/lwip/src/include/lwipopts.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/lwip/src/include/lwipopts.h b/core/lwip/src/include/lwipopts.h
index d2debb22..0e43335a 100644
--- a/core/lwip/src/include/lwipopts.h
+++ b/core/lwip/src/include/lwipopts.h
@@ -43,8 +43,8 @@
#define LWIP_DNS 1
#define DNS_TABLE_SIZE 16
#define DNS_MAX_SERVERS 4
-#define TCP_WND 0xff00
#define TCP_MSS 1460
+#define TCP_WND 0xf800
#define TCP_SND_BUF 4096
#define ETHARP_TRUST_IP_MAC 0