diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2020-10-07 09:41:52 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2020-10-07 15:22:10 +0200 |
commit | ad208fac7311ce6757add412fe3ac26cbf938049 (patch) | |
tree | 37b447301c07a767eb8f9d4e8e03ed1a1b145685 /src/network/networkd-route.h | |
parent | fd7701bf311dde85375f46d39b36a81215c062d4 (diff) | |
download | systemd-ad208fac7311ce6757add412fe3ac26cbf938049.tar.gz |
network: also manage routes without RTA_OIF attribute
Diffstat (limited to 'src/network/networkd-route.h')
-rw-r--r-- | src/network/networkd-route.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/network/networkd-route.h b/src/network/networkd-route.h index 3347c7c57b..5a82c3ac58 100644 --- a/src/network/networkd-route.h +++ b/src/network/networkd-route.h @@ -31,6 +31,7 @@ typedef struct Route { NetworkConfigSection *section; Link *link; + Manager *manager; int family; int quickack; @@ -74,7 +75,7 @@ Route *route_free(Route *route); DEFINE_NETWORK_SECTION_FUNCTIONS(Route, route_free); int route_configure(Route *route, Link *link, link_netlink_message_handler_t callback, Route **ret); -int route_remove(Route *route, Link *link, link_netlink_message_handler_t callback); +int route_remove(Route *route, Manager *manager, Link *link, link_netlink_message_handler_t callback); int link_set_routes(Link *link); int link_drop_routes(Link *link); |