diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2024-11-11 05:00:10 +0100 |
---|---|---|
committer | Luca Boccassi <bluca@debian.org> | 2024-11-11 14:59:41 +0100 |
commit | 688f166972916b5cfc9287055582ac1aeef3d486 (patch) | |
tree | 401340a862dcf833dea8244fe21b95d3033d43b7 /src/network/networkd-nexthop.h | |
parent | network/route: forget IPv4 non-local routes when an interface went down (diff) | |
download | systemd-688f166972916b5cfc9287055582ac1aeef3d486.tar.xz systemd-688f166972916b5cfc9287055582ac1aeef3d486.zip |
network/nexthop: also forget IPv4 nexthops when an interface went down
Similar to the previous commit, but for nexthop.
Diffstat (limited to '')
-rw-r--r-- | src/network/networkd-nexthop.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/networkd-nexthop.h b/src/network/networkd-nexthop.h index b6184503f4..de3f64c374 100644 --- a/src/network/networkd-nexthop.h +++ b/src/network/networkd-nexthop.h @@ -60,6 +60,7 @@ static inline int link_drop_unmanaged_nexthops(Link *link) { static inline int link_drop_static_nexthops(Link *link) { return link_drop_nexthops(link, /* only_static = */ true); } +void link_forget_nexthops(Link *link); int link_request_static_nexthops(Link *link, bool only_ipv4); |