summaryrefslogtreecommitdiff
path: root/src/network/networkd-route.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-route.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-route.h')
-rw-r--r--src/network/networkd-route.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-route.h b/src/network/networkd-route.h
index 3471008fee..ee8e36f83d 100644
--- a/src/network/networkd-route.h
+++ b/src/network/networkd-route.h
@@ -82,7 +82,7 @@ int route_remove(Route *route);
int route_get(Manager *manager, Link *link, const Route *in, Route **ret);
-int link_drop_routes(Link *link);
+int link_drop_managed_routes(Link *link);
int link_drop_foreign_routes(Link *link);
void link_foreignize_routes(Link *link);