diff options
author | Jakob Schlyter <jakob@cvs.openbsd.org> | 2010-01-27 14:39:21 +0000 |
---|---|---|
committer | Jakob Schlyter <jakob@cvs.openbsd.org> | 2010-01-27 14:39:21 +0000 |
commit | 0e5bec497098e694d07eadb9f051f4cae7d87f2b (patch) | |
tree | 518f597950b9766ca594721c4e49efd1d0639702 /usr.sbin/nsd | |
parent | 2370bdb04c5ebcc0dc575348b5765f46deefb693 (diff) |
use arc4random() instead of random()
Diffstat (limited to 'usr.sbin/nsd')
-rw-r--r-- | usr.sbin/nsd/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/nsd/util.c b/usr.sbin/nsd/util.c index b294e8870f6..2a50c15a5c4 100644 --- a/usr.sbin/nsd/util.c +++ b/usr.sbin/nsd/util.c @@ -962,5 +962,5 @@ addr2ip( uint16_t qid_generate() { - return (uint16_t) random(); + return (uint16_t) arc4random(); } |