diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2024-01-14 05:49:30 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2024-01-19 02:21:55 +0100 |
commit | 413ea20ab3d86b5bccf775da21a945327b3880c9 (patch) | |
tree | 5a9b9489e4e82ef169c53f536efaf967ea58bda5 /src/network/networkd-route.h | |
parent | network/route-nexthop: use RTA_MULTIPATH when weight is not zero (diff) | |
download | systemd-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 '')
-rw-r--r-- | src/network/networkd-route.h | 2 |
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); |