summaryrefslogtreecommitdiff
path: root/sys/netipx
diff options
context:
space:
mode:
authorThorsten Lockert <tholo@cvs.openbsd.org>2004-06-20 21:33:01 +0000
committerThorsten Lockert <tholo@cvs.openbsd.org>2004-06-20 21:33:01 +0000
commitab76787047dfc907e52acf85582bdc7247f05fd4 (patch)
tree4d27a8c6341a50d25af8829d7df51c1e365599f8 /sys/netipx
parentabbccb6446b3ae145340f62bfdd77de763a2a6ef (diff)
Use arc4random; request art@ deraadt@
Diffstat (limited to 'sys/netipx')
-rw-r--r--sys/netipx/ipx_input.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netipx/ipx_input.c b/sys/netipx/ipx_input.c
index ed8a22aea76..efd4ce9af9f 100644
--- a/sys/netipx/ipx_input.c
+++ b/sys/netipx/ipx_input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ipx_input.c,v 1.18 2004/06/20 21:09:02 tholo Exp $ */
+/* $OpenBSD: ipx_input.c,v 1.19 2004/06/20 21:33:00 tholo Exp $ */
/*-
*
@@ -97,7 +97,7 @@ ipx_init()
ipx_broadnet = * (union ipx_net *) allones;
ipx_broadhost = * (union ipx_host *) allones;
- ipx_pexseq = random();
+ ipx_pexseq = arc4random();
ipxintrq.ifq_maxlen = ipxqmaxlen;
ipx_netmask.sipx_len = 6;