summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-02-08 17:36:29 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-02-08 17:36:29 +0000
commitb4c7a86cd3feff6a98e8061945fc96504742acb1 (patch)
tree7aadd4d5636995ddae7aa79e6222f33da31b8a30
parentb2a16285aaa0f19608efc51053465184a0e628e9 (diff)
init incr tcp iss from snd_nxt, not rcv_nxt; 4.4
-rw-r--r--sys/netinet/tcp_input.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c
index a673d4a157f..1b0115f1aa5 100644
--- a/sys/netinet/tcp_input.c
+++ b/sys/netinet/tcp_input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcp_input.c,v 1.29 1999/02/05 05:42:36 deraadt Exp $ */
+/* $OpenBSD: tcp_input.c,v 1.30 1999/02/08 17:36:28 deraadt Exp $ */
/* $NetBSD: tcp_input.c,v 1.23 1996/02/13 23:43:44 christos Exp $ */
/*
@@ -1340,7 +1340,7 @@ trimthenstep6:
if (tiflags & TH_SYN &&
tp->t_state == TCPS_TIME_WAIT &&
SEQ_GT(th->th_seq, tp->rcv_nxt)) {
- iss = tp->rcv_nxt + TCP_ISSINCR;
+ iss = tp->snd_nxt + TCP_ISSINCR;
tp = tcp_close(tp);
goto findpcb;
}