summaryrefslogtreecommitdiff
path: root/sys/netipx
diff options
context:
space:
mode:
authorThorsten Lockert <tholo@cvs.openbsd.org>2004-06-20 21:09:03 +0000
committerThorsten Lockert <tholo@cvs.openbsd.org>2004-06-20 21:09:03 +0000
commit624c441d2780c4cd6d368c629cf0046776625c03 (patch)
treef4260622e976b51e0d4a545458fbf9be6edafc0a /sys/netipx
parent1b034cebeaec554ba60359069706e65a99ada2f7 (diff)
Do not use time based randomization; ok 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 9299c72793d..ed8a22aea76 100644
--- a/sys/netipx/ipx_input.c
+++ b/sys/netipx/ipx_input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ipx_input.c,v 1.17 2003/12/10 07:22:43 itojun Exp $ */
+/* $OpenBSD: ipx_input.c,v 1.18 2004/06/20 21:09:02 tholo Exp $ */
/*-
*
@@ -97,7 +97,7 @@ ipx_init()
ipx_broadnet = * (union ipx_net *) allones;
ipx_broadhost = * (union ipx_host *) allones;
- ipx_pexseq = time.tv_usec;
+ ipx_pexseq = random();
ipxintrq.ifq_maxlen = ipxqmaxlen;
ipx_netmask.sipx_len = 6;