diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-10-26 02:29:09 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-10-26 08:20:22 +0900 |
commit | b4564f4e8ff1a653b8bba0a13533317fe3635897 (patch) | |
tree | a72d7a944d0e5cebaa31a92c63e5b6802273d368 /src/network/networkd-nexthop.h | |
parent | 756f1f5fd0ffb4cf0af230dea5fc478d9ca5390b (diff) | |
download | systemd-b4564f4e8ff1a653b8bba0a13533317fe3635897.tar.gz |
network: delay dropping addresses or so on reloading .network files
When a .network file is updated but its change is not so big, it is not
necessary to first drop all configs and then reassign later again.
This slightly optimize such situation. First foreignize all configs, and
then drop later when it is not requested by the updated .network file.
Diffstat (limited to 'src/network/networkd-nexthop.h')
-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 a63ca56d26..3cc177fc54 100644 --- a/src/network/networkd-nexthop.h +++ b/src/network/networkd-nexthop.h @@ -45,6 +45,7 @@ void network_drop_invalid_nexthops(Network *network); int link_drop_nexthops(Link *link); int link_drop_foreign_nexthops(Link *link); +void link_foreignize_nexthops(Link *link); int link_request_static_nexthops(Link *link, bool only_ipv4); int request_process_nexthop(Request *req); |