]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/network/networkd-address.c
ipv4ll: do not reset conflict counter on restart
authorAJ Bagwell <anthony.bagwell@hivehome.com>
Tue, 10 Dec 2019 16:27:31 +0000 (16:27 +0000)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 11 Dec 2019 04:26:31 +0000 (13:26 +0900)
commite92b60b20f21111a0c28135c1b5c78fc851a4f15
treec5447fe6899b34015f8038b124782e5a21b65efe
parentbfb68540d5016a107975ada8352ec843fa1c532e
ipv4ll: do not reset conflict counter on restart

Don't reset the conflict counter when trying a new pseudo random
address, so that after trying 10 addresses the londer timeout is used in
accordance with the RFC

Fixes #14299.
src/libsystemd-network/sd-ipv4acd.c
src/libsystemd-network/sd-ipv4ll.c
src/libsystemd-network/test-acd.c
src/network/networkd-address.c
src/systemd/sd-ipv4acd.h