mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-23 17:34:00 +03:00
network: drop one more link_dirty()
Follow-up for 9092113d93
.
link_dirty() will be called later in this function when a DNS or domain
is dropped.
This commit is contained in:
parent
5caac53adb
commit
8ccc31d498
@ -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));
|
log_link_debug(link, "Removing old NDisc information obtained from %s.", strna(buf));
|
||||||
}
|
}
|
||||||
|
|
||||||
link_dirty(link);
|
|
||||||
|
|
||||||
SET_FOREACH(na, link->ndisc_addresses)
|
SET_FOREACH(na, link->ndisc_addresses)
|
||||||
if (na->marked && IN6_ARE_ADDR_EQUAL(&na->router, router)) {
|
if (na->marked && IN6_ARE_ADDR_EQUAL(&na->router, router)) {
|
||||||
k = address_remove(na->address, link, NULL);
|
k = address_remove(na->address, link, NULL);
|
||||||
|
Loading…
Reference in New Issue
Block a user