summaryrefslogtreecommitdiff
path: root/sys/netinet6/nd6_nbr.c
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2001-02-16 16:08:02 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2001-02-16 16:08:02 +0000
commit355e33a4acec37554be2266429868ae7b59473d8 (patch)
tree469ca559c2d853b79db2ded27dce3512665ba665 /sys/netinet6/nd6_nbr.c
parentaaf077f32059a3491fc80147d3893454b901c91c (diff)
oops, remove #ifdef __fooBSD__.
Diffstat (limited to 'sys/netinet6/nd6_nbr.c')
-rw-r--r--sys/netinet6/nd6_nbr.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/netinet6/nd6_nbr.c b/sys/netinet6/nd6_nbr.c
index 0e8590b22a9..7543f6ee3fb 100644
--- a/sys/netinet6/nd6_nbr.c
+++ b/sys/netinet6/nd6_nbr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nd6_nbr.c,v 1.14 2001/02/16 08:47:12 itojun Exp $ */
+/* $OpenBSD: nd6_nbr.c,v 1.15 2001/02/16 16:08:01 itojun Exp $ */
/* $KAME: nd6_nbr.c,v 1.58 2001/02/08 10:57:00 itojun Exp $ */
/*
@@ -1075,16 +1075,12 @@ nd6_dad_start(ifa, tick)
} else {
int ntick;
-#ifdef __OpenBSD__
#define random arc4random
-#endif
if (*tick == 0)
ntick = random() % (MAX_RTR_SOLICITATION_DELAY * hz);
else
ntick = *tick + random() % (hz / 2);
-#ifdef __OpenBSD__
#undef random
-#endif
*tick = ntick;
nd6_dad_starttimer(dp, ntick);
}