diff options
Diffstat (limited to 'sys/netinet6/nd6_nbr.c')
-rw-r--r-- | sys/netinet6/nd6_nbr.c | 6 |
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); } |