summaryrefslogtreecommitdiffstats
path: root/regress/lib/libpthread/netdb/netdb.c
diff options
context:
space:
mode:
authorpeter <peter@openbsd.org>2001-09-20 16:07:21 +0000
committerpeter <peter@openbsd.org>2001-09-20 16:07:21 +0000
commitc240306b6ecc297705978058665b9f8a744b4575 (patch)
tree5b756da28065609dd291f3fcfe0f4de796b955f8 /regress/lib/libpthread/netdb/netdb.c
parentMention that ultrasparc proms don't append the architecture name (diff)
downloadwireguard-openbsd-c240306b6ecc297705978058665b9f8a744b4575.tar.xz
wireguard-openbsd-c240306b6ecc297705978058665b9f8a744b4575.zip
the use of arc4random() in ether_ifattach() is wrong as randomattach()
has not yet been called at this point. replace arc4random() with the more mundae random()&0xff as the use of a strong PRNG is not need here, where this code just helps fix up broken MAC addresses anyway now to find the real problem with my sis(4) LAN interface... ok'd by jason@
Diffstat (limited to 'regress/lib/libpthread/netdb/netdb.c')
0 files changed, 0 insertions, 0 deletions