diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-02-05 15:48:28 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-02-05 15:48:28 +0000 |
commit | dcf1564410bf65a4cd4a25a9fde1c734a56da5c7 (patch) | |
tree | fb12cd1f1d1be670d711e6254e8518485f6ef304 /sys/netinet/igmp_var.h | |
parent | 08d997804215097a2147a9f4bbe81f8cf62516d7 (diff) |
use arc4random()
Diffstat (limited to 'sys/netinet/igmp_var.h')
-rw-r--r-- | sys/netinet/igmp_var.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/igmp_var.h b/sys/netinet/igmp_var.h index dccbd637b81..f31ef56f019 100644 --- a/sys/netinet/igmp_var.h +++ b/sys/netinet/igmp_var.h @@ -1,4 +1,4 @@ -/* $OpenBSD: igmp_var.h,v 1.2 1996/03/03 22:30:27 niklas Exp $ */ +/* $OpenBSD: igmp_var.h,v 1.3 1997/02/05 15:48:22 deraadt Exp $ */ /* $NetBSD: igmp_var.h,v 1.9 1996/02/13 23:41:31 christos Exp $ */ /* @@ -71,7 +71,7 @@ struct igmpstat igmpstat; * DELAY * countdown frequency). We assume that the routine random() * is defined somewhere (and that it returns a positive number). */ -#define IGMP_RANDOM_DELAY(X) (random() % (X) + 1) +#define IGMP_RANDOM_DELAY(X) (arc4random() % (X) + 1) void igmp_init __P((void)); void igmp_input __P((struct mbuf *, ...)); |