summaryrefslogtreecommitdiffstats
path: root/src/network/networkd-route.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2024-11-05 04:14:01 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2024-11-14 02:23:09 +0100
commit80a89d1ad59bce6facd98f2d47d0e760f56f9aac (patch)
tree6ee54955abec78e3ff6c8e9c1e7fdaed69ebf29b /src/network/networkd-route.c
parentnetwork/ipv4ll: use a foreign IPv4LL address when KeepConfiguration=dhcp (diff)
downloadsystemd-80a89d1ad59bce6facd98f2d47d0e760f56f9aac.tar.xz
systemd-80a89d1ad59bce6facd98f2d47d0e760f56f9aac.zip
network: rename KeepConfiguration=dhcp -> dynamic
KeepConfiguration=dhcp keeps not only DHCP configurations but also SLAAC or IPV4LL. Let's rename the value to 'dynamic'.
Diffstat (limited to '')
-rw-r--r--src/network/networkd-route.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-route.c b/src/network/networkd-route.c
index b85d2a037a..0f3f79ec4f 100644
--- a/src/network/networkd-route.c
+++ b/src/network/networkd-route.c
@@ -1486,7 +1486,7 @@ int link_drop_routes(Link *link, bool only_static) {
continue;
if (IN_SET(route->protocol, RTPROT_DHCP, RTPROT_RA, RTPROT_REDIRECT) &&
- FLAGS_SET(link->network->keep_configuration, KEEP_CONFIGURATION_DHCP))
+ FLAGS_SET(link->network->keep_configuration, KEEP_CONFIGURATION_DYNAMIC))
continue;
}
}