]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/network/networkd-link.c
network: rename link_drop_managed_xyz() -> link_drop_static_xyz()
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 9 Feb 2024 05:33:07 +0000 (14:33 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 14 Feb 2024 15:43:12 +0000 (00:43 +0900)
commite09b758876219de8222df798114d1d63b0323b58
tree8b4071498e0d09e8e51bb8ea908443ae33390733
parenta86763c70b29a3a6b2fc543fef9ed5502c9c8991
network: rename link_drop_managed_xyz() -> link_drop_static_xyz()

As networkd does not configure nexthops, neighbors, or routing policy rules
dynamically, this only changes link_drop_managed_addresses(). Previously
it also removed dynamic addresses, but with this commit, now it only
removes static addresses. Note, link_drop_managed_routes() has removed
only static routes, so this commit only changes its name.

Note. as commented in the code, the dynamic addresses will be removed
on lease expiration or stopping client, and link_drop_managed_xyz() are
called on reconfiguration or so, and at that time, all dynamic
addressing clients are stopped or restarted, so this should not
effective behavior change.
src/network/networkd-address.c
src/network/networkd-address.h
src/network/networkd-link.c
src/network/networkd-neighbor.c
src/network/networkd-neighbor.h
src/network/networkd-nexthop.c
src/network/networkd-nexthop.h
src/network/networkd-route.h
src/network/networkd-routing-policy-rule.c
src/network/networkd-routing-policy-rule.h