summaryrefslogtreecommitdiffstats
path: root/src/network/networkd-ndisc.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2021-01-31 14:31:32 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-01-31 17:11:44 +0100
commit8ccc31d498278cd1531f153ae1ebedf373b0e9dd (patch)
treedf12c9cdeafaf0ca8ed3cc89424eaf00af15f786 /src/network/networkd-ndisc.c
parentMerge pull request #18417 from DaanDeMeyer/sd-boot-no-include (diff)
downloadsystemd-8ccc31d498278cd1531f153ae1ebedf373b0e9dd.tar.xz
systemd-8ccc31d498278cd1531f153ae1ebedf373b0e9dd.zip
network: drop one more link_dirty()
Follow-up for 9092113d93f61d67605f7c4a824b65a56b33fa59. link_dirty() will be called later in this function when a DNS or domain is dropped.
Diffstat (limited to '')
-rw-r--r--src/network/networkd-ndisc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/network/networkd-ndisc.c b/src/network/networkd-ndisc.c
index e45301eb8c..bcde253909 100644
--- a/src/network/networkd-ndisc.c
+++ b/src/network/networkd-ndisc.c
@@ -166,8 +166,6 @@ static int ndisc_remove_old_one(Link *link, const struct in6_addr *router, bool
log_link_debug(link, "Removing old NDisc information obtained from %s.", strna(buf));
}
- link_dirty(link);
-
SET_FOREACH(na, link->ndisc_addresses)
if (na->marked && IN6_ARE_ADDR_EQUAL(&na->router, router)) {
k = address_remove(na->address, link, NULL);