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-neighbor.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-neighbor.h')
-rw-r--r-- | src/network/networkd-neighbor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-neighbor.h b/src/network/networkd-neighbor.h index f31f58a4d4..ac1678de18 100644 --- a/src/network/networkd-neighbor.h +++ b/src/network/networkd-neighbor.h @@ -34,7 +34,7 @@ int neighbor_compare_func(const Neighbor *a, const Neighbor *b); void network_drop_invalid_neighbors(Network *network); -int link_drop_neighbors(Link *link); +int link_drop_managed_neighbors(Link *link); int link_drop_foreign_neighbors(Link *link); void link_foreignize_neighbors(Link *link); |