diff options
author | Niels Provos <provos@cvs.openbsd.org> | 1999-09-01 21:38:22 +0000 |
---|---|---|
committer | Niels Provos <provos@cvs.openbsd.org> | 1999-09-01 21:38:22 +0000 |
commit | 4798a08b30eee9941f3874fc645e6926ad7327e8 (patch) | |
tree | 00089c741f24dccfbf2a94e522e1e9d116dbc481 /sys/netinet/tcp_input.c | |
parent | 191b40e6bd025ee149a451358c4be60520c1cb73 (diff) |
increase tcp_iss increment
Diffstat (limited to 'sys/netinet/tcp_input.c')
-rw-r--r-- | sys/netinet/tcp_input.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c index 6a0ddf23205..3105fbea9fd 100644 --- a/sys/netinet/tcp_input.c +++ b/sys/netinet/tcp_input.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tcp_input.c,v 1.48 1999/08/31 21:41:05 provos Exp $ */ +/* $OpenBSD: tcp_input.c,v 1.49 1999/09/01 21:38:21 provos Exp $ */ /* $NetBSD: tcp_input.c,v 1.23 1996/02/13 23:43:44 christos Exp $ */ /* @@ -1011,7 +1011,7 @@ findpcb: #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 */ tp->irs = th->th_seq; tcp_sendseqinit(tp); |