summaryrefslogtreecommitdiff
path: root/src/network/networkd-ndisc.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2021-01-31 22:31:32 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-02-01 01:11:44 +0900
commit8ccc31d498278cd1531f153ae1ebedf373b0e9dd (patch)
treedf12c9cdeafaf0ca8ed3cc89424eaf00af15f786 /src/network/networkd-ndisc.c
parent5caac53adbd2f062907ebe055407489df893f1d4 (diff)
downloadsystemd-8ccc31d498278cd1531f153ae1ebedf373b0e9dd.tar.gz
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 'src/network/networkd-ndisc.c')
-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);