diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-01-31 19:08:27 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-02-01 11:30:37 +0900 |
commit | a0e99a377a2f22c0ba460d3e7228214008714c14 (patch) | |
tree | 017e39c04e5a574dde21998b2285f896e2aa2be0 /src/network/networkd-address.h | |
parent | 9d67fb0e33145cde08759c85f6631f75bdef559c (diff) | |
download | systemd-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.h | 2 |
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); |