diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-05-23 19:24:21 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-05-26 15:34:43 +0200 |
commit | 96a7979f3d77d1e629dcfe5ee018d18c281771a1 (patch) | |
tree | 29b1b6e1623d03d7cb8b858eecf88eeafbbeed16 /src/user-sessions | |
parent | 38958cd66e87037c75109408bf4093be21811eba (diff) |
ipv4acd: rework how we pick ipv4ll addresses
Let's make the seed actually work as stable seed, and use siphash24 to generate
the series of addresses, instead of the opaque libc random_r().
This not only makes the seed truly work as stable, portable seed, but also
makes the code quite a bit shorter, and removes a couple of memory allocations.
Diffstat (limited to 'src/user-sessions')
0 files changed, 0 insertions, 0 deletions