summaryrefslogtreecommitdiff
path: root/sys/netinet/tcp_subr.c
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2000-09-29 01:37:19 +0000
committerKris Kennaway <kris@FreeBSD.org>2000-09-29 01:37:19 +0000
commitbe515d91ad5712504fd074b5754f4c996fbdf00a (patch)
tree8c7144507815367f1a6aa64e3c90da96c2c42112 /sys/netinet/tcp_subr.c
parent5edc35721986d0a8711bf83b89d7cf1e73f81238 (diff)
Notes
Diffstat (limited to 'sys/netinet/tcp_subr.c')
-rw-r--r--sys/netinet/tcp_subr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c
index b927225bb997..4541f4e06ed5 100644
--- a/sys/netinet/tcp_subr.c
+++ b/sys/netinet/tcp_subr.c
@@ -178,7 +178,7 @@ tcp_init()
{
int hashsize;
- tcp_iss = random(); /* wrong, but better than a constant */
+ tcp_iss = arc4random(); /* wrong, but better than a constant */
tcp_ccgen = 1;
tcp_cleartaocache();