summaryrefslogtreecommitdiffstats
path: root/src/network/networkd-route.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2024-01-14 05:49:30 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2024-01-19 02:21:55 +0100
commit413ea20ab3d86b5bccf775da21a945327b3880c9 (patch)
tree5a9b9489e4e82ef169c53f536efaf967ea58bda5 /src/network/networkd-route.h
parentnetwork/route-nexthop: use RTA_MULTIPATH when weight is not zero (diff)
downloadsystemd-413ea20ab3d86b5bccf775da21a945327b3880c9.tar.xz
systemd-413ea20ab3d86b5bccf775da21a945327b3880c9.zip
network/route-nexthop: introduce route_nexthops_copy()
This also introduce an extra argument for route_dup(), but it is currently unused, will be used later. No functional change, just preparation for later commits.
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 8d55a6ac00..49e78e9777 100644
--- a/src/network/networkd-route.h
+++ b/src/network/networkd-route.h
@@ -86,7 +86,7 @@ DEFINE_SECTION_CLEANUP_FUNCTIONS(Route, route_free);
int route_new(Route **ret);
int route_new_static(Network *network, const char *filename, unsigned section_line, Route **ret);
-int route_dup(const Route *src, Route **ret);
+int route_dup(const Route *src, const RouteNextHop *nh, Route **ret);
int route_configure_handler_internal(sd_netlink *rtnl, sd_netlink_message *m, Link *link, Route *route, const char *error_msg);
int route_remove(Route *route);