summaryrefslogtreecommitdiff
path: root/src/libsystemd-network/sd-ipv4acd.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-05-23 19:24:21 +0200
committerLennart Poettering <lennart@poettering.net>2016-05-26 15:34:43 +0200
commit96a7979f3d77d1e629dcfe5ee018d18c281771a1 (patch)
tree29b1b6e1623d03d7cb8b858eecf88eeafbbeed16 /src/libsystemd-network/sd-ipv4acd.c
parent38958cd66e87037c75109408bf4093be21811eba (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/libsystemd-network/sd-ipv4acd.c')
0 files changed, 0 insertions, 0 deletions