commit | b90b97a77243df3bf19eb0ed17280b416a54e306 | [log] [tgz] |
---|---|---|
author | Michael Walle <michael@walle.cc> | Tue Jun 05 11:33:15 2012 +0000 |
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | Sat Jul 07 14:07:32 2012 +0200 |
tree | 44a0e2420003a2c3393b845b091bcc7b2e05a93b | |
parent | d96bd01fb44544101796bd5b2e9a6ceae93ccb43 [diff] |
net: use common rand()/srand() functions Replace rand() with the functions from lib/. The link-local network code stores its own seed, derived from the MAC address. Thus making it independent from calls to srand() in other modules. Signed-off-by: Michael Walle <michael@walle.cc> Acked-by: Joe Hershberger <joe.hershberger@ni.com>