summaryrefslogtreecommitdiff
path: root/sys/netinet/tcp_usrreq.c
diff options
context:
space:
mode:
authorNiels Provos <provos@cvs.openbsd.org>1999-09-01 21:38:22 +0000
committerNiels Provos <provos@cvs.openbsd.org>1999-09-01 21:38:22 +0000
commit4798a08b30eee9941f3874fc645e6926ad7327e8 (patch)
tree00089c741f24dccfbf2a94e522e1e9d116dbc481 /sys/netinet/tcp_usrreq.c
parent191b40e6bd025ee149a451358c4be60520c1cb73 (diff)
increase tcp_iss increment
Diffstat (limited to 'sys/netinet/tcp_usrreq.c')
-rw-r--r--sys/netinet/tcp_usrreq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_usrreq.c b/sys/netinet/tcp_usrreq.c
index d9ca963cc58..4868d9728f4 100644
--- a/sys/netinet/tcp_usrreq.c
+++ b/sys/netinet/tcp_usrreq.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcp_usrreq.c,v 1.35 1999/07/06 20:17:53 cmetz Exp $ */
+/* $OpenBSD: tcp_usrreq.c,v 1.36 1999/09/01 21:38:21 provos Exp $ */
/* $NetBSD: tcp_usrreq.c,v 1.20 1996/02/13 23:44:16 christos Exp $ */
/*
@@ -316,7 +316,7 @@ tcp_usrreq(so, req, m, nam, control)
#ifdef TCP_COMPAT_42
tcp_iss += TCP_ISSINCR/2;
#else /* TCP_COMPAT_42 */
- tcp_iss += arc4random() % (TCP_ISSINCR / 2) + 1;
+ tcp_iss += arc4random() % TCP_ISSINCR + 1;
#endif /* !TCP_COMPAT_42 */
tcp_sendseqinit(tp);
#if defined(TCP_SACK) || defined(TCP_NEWRENO)