summaryrefslogtreecommitdiffstats
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/tcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/tcp.c b/src/net/tcp.c
index b30fb1b0a..3cd357fca 100644
--- a/src/net/tcp.c
+++ b/src/net/tcp.c
@@ -714,7 +714,7 @@ static int tcp_xmit_reset ( struct tcp_connection *tcp,
tcphdr->ack = in_tcphdr->seq;
tcphdr->hlen = ( ( sizeof ( *tcphdr ) / 4 ) << 4 );
tcphdr->flags = ( TCP_RST | TCP_ACK );
- tcphdr->win = htons ( TCP_MAX_WINDOW_SIZE );
+ tcphdr->win = htons ( 0 );
tcphdr->csum = tcpip_chksum ( iobuf->data, iob_len ( iobuf ) );
/* Dump header */