summaryrefslogtreecommitdiffstats
path: root/src/network/networkd-ipv4ll.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2019-08-03 22:09:08 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2019-08-16 15:02:17 +0200
commit2d79289525ce2a85c22c6be6290f876b96b1bc0a (patch)
tree54bbb7b849b9a32fa8f871e7a785f42f9c3bcca8 /src/network/networkd-ipv4ll.c
parentnetwork: add missing entry in serialization/deserialization (diff)
downloadsystemd-2d79289525ce2a85c22c6be6290f876b96b1bc0a.tar.xz
systemd-2d79289525ce2a85c22c6be6290f876b96b1bc0a.zip
network: rename AddressFamilyBoolean -> AddressFamily
We usually do not call an extended boolean as XxxBoolean.
Diffstat (limited to 'src/network/networkd-ipv4ll.c')
-rw-r--r--src/network/networkd-ipv4ll.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/network/networkd-ipv4ll.c b/src/network/networkd-ipv4ll.c
index 71f6af6af2..e50a3150df 100644
--- a/src/network/networkd-ipv4ll.c
+++ b/src/network/networkd-ipv4ll.c
@@ -251,7 +251,7 @@ int config_parse_ipv4ll(
void *data,
void *userdata) {
- AddressFamilyBoolean *link_local = data;
+ AddressFamily *link_local = data;
int r;
assert(filename);
@@ -260,7 +260,7 @@ int config_parse_ipv4ll(
assert(data);
/* Note that this is mostly like
- * config_parse_address_family_boolean(), except that it
+ * config_parse_address_family(), except that it
* applies only to IPv4 */
r = parse_boolean(rvalue);
@@ -276,7 +276,7 @@ int config_parse_ipv4ll(
log_syntax(unit, LOG_WARNING, filename, line, 0,
"%s=%s is deprecated, please use LinkLocalAddressing=%s instead.",
- lvalue, rvalue, address_family_boolean_to_string(*link_local));
+ lvalue, rvalue, address_family_to_string(*link_local));
return 0;
}