summaryrefslogtreecommitdiff
path: root/src/network/networkd-address.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2022-01-31 19:08:27 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-02-01 11:30:37 +0900
commita0e99a377a2f22c0ba460d3e7228214008714c14 (patch)
tree017e39c04e5a574dde21998b2285f896e2aa2be0 /src/network/networkd-address.h
parent9d67fb0e33145cde08759c85f6631f75bdef559c (diff)
downloadsystemd-a0e99a377a2f22c0ba460d3e7228214008714c14.tar.gz
network: remove only managed configs on reconfigure or carrier lost
Otherwise, if the carrir of the non-managed interface is lost, the configs such as addresses or routes on the interface will be removed by networkd.
Diffstat (limited to 'src/network/networkd-address.h')
-rw-r--r--src/network/networkd-address.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-address.h b/src/network/networkd-address.h
index c1e5b3ce3a..682f7e80e4 100644
--- a/src/network/networkd-address.h
+++ b/src/network/networkd-address.h
@@ -74,7 +74,7 @@ void address_set_broadcast(Address *a);
DEFINE_SECTION_CLEANUP_FUNCTIONS(Address, address_free);
-int link_drop_addresses(Link *link);
+int link_drop_managed_addresses(Link *link);
int link_drop_foreign_addresses(Link *link);
int link_drop_ipv6ll_addresses(Link *link);
void link_foreignize_addresses(Link *link);