summaryrefslogtreecommitdiff
path: root/src/network/networkd-address.c
diff options
context:
space:
mode:
authorAJ Bagwell <anthony.bagwell@hivehome.com>2019-12-10 16:27:31 +0000
committerYu Watanabe <watanabe.yu+github@gmail.com>2019-12-11 13:26:31 +0900
commite92b60b20f21111a0c28135c1b5c78fc851a4f15 (patch)
treec5447fe6899b34015f8038b124782e5a21b65efe /src/network/networkd-address.c
parentbfb68540d5016a107975ada8352ec843fa1c532e (diff)
downloadsystemd-e92b60b20f21111a0c28135c1b5c78fc851a4f15.tar.gz
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.
Diffstat (limited to 'src/network/networkd-address.c')
-rw-r--r--src/network/networkd-address.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-address.c b/src/network/networkd-address.c
index 23a970a13f..886a8c0665 100644
--- a/src/network/networkd-address.c
+++ b/src/network/networkd-address.c
@@ -670,7 +670,7 @@ int address_configure(
log_debug("Starting IPv4ACD client. Probing address %s", strna(pretty));
}
- r = sd_ipv4acd_start(address->acd);
+ r = sd_ipv4acd_start(address->acd, true);
if (r < 0)
log_link_warning_errno(link, r, "Failed to start IPv4ACD client, ignoring: %m");
}