]> git.ipfire.org Git - thirdparty/mtr.git/commit
misc: improve random initialization 151/head
authorSami Kerola <kerolasa@iki.fi>
Thu, 29 Sep 2016 18:30:02 +0000 (19:30 +0100)
committerSami Kerola <kerolasa@iki.fi>
Thu, 29 Sep 2016 18:43:23 +0000 (19:43 +0100)
commit81108f8bd1e570ea0359c9a6767f4c3b53e7a4ed
tree8a2348fb26270091c1793f0d86b0ecacad60ff19
parentda054c40d72e293261f3fcd97c6fb82625d94511
misc: improve random initialization

Typical linux pid range is 2^15, which is not a lot as a entropy sourcee.
This change uses full 32 bits when random is initialized.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
mtr.c