projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0107b76
)
network: stop IPv4LL engine when DHCPv4 address is successfully acquired
author
Yu Watanabe
<watanabe.yu+github@gmail.com>
Mon, 23 Nov 2020 04:28:47 +0000
(13:28 +0900)
committer
Yu Watanabe
<watanabe.yu+github@gmail.com>
Mon, 30 Nov 2020 03:41:30 +0000
(12:41 +0900)
src/network/networkd-dhcp4.c
patch
|
blob
|
history
diff --git
a/src/network/networkd-dhcp4.c
b/src/network/networkd-dhcp4.c
index 78af53c38188fdfbe40d25ea7fb9cd22775e86f0..c4024499f1daebb479d97d20b19eae770db5ae67 100644
(file)
--- a/
src/network/networkd-dhcp4.c
+++ b/
src/network/networkd-dhcp4.c
@@
-70,6
+70,10
@@
static void dhcp4_check_ready(Link *link) {
return;
}
+ r = sd_ipv4ll_stop(link->ipv4ll);
+ if (r < 0)
+ log_link_warning_errno(link, r, "Failed to drop IPv4 link-local address, ignoring: %m");
+
link_check_ready(link);
}