diff options
author | ume <ume@FreeBSD.org> | 2003-10-31 16:06:05 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2003-10-31 16:06:05 +0000 |
commit | 2f50cbb708332f469b4898f9f92ba17e95dcf200 (patch) | |
tree | 9fab0c15e434400bde480ac16800b9c5b2d6154d /sys/netinet6/mld6_var.h | |
parent | ae762ca5fedee2ad32e940c570d7552fb54f7dbe (diff) | |
download | FreeBSD-src-2f50cbb708332f469b4898f9f92ba17e95dcf200.zip FreeBSD-src-2f50cbb708332f469b4898f9f92ba17e95dcf200.tar.gz |
use arc4random.
Obtained from: KAME
Diffstat (limited to 'sys/netinet6/mld6_var.h')
-rw-r--r-- | sys/netinet6/mld6_var.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet6/mld6_var.h b/sys/netinet6/mld6_var.h index 405f45a..13ae1e6 100644 --- a/sys/netinet6/mld6_var.h +++ b/sys/netinet6/mld6_var.h @@ -35,7 +35,7 @@ #ifdef _KERNEL -#define MLD6_RANDOM_DELAY(X) (random() % (X) + 1) +#define MLD6_RANDOM_DELAY(X) (arc4random() % (X) + 1) /* * States for MLD stop-listening processing |