diff options
author | Lennart Poettering <lennart@poettering.net> | 2021-02-18 17:56:11 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2021-02-18 18:17:16 +0100 |
commit | 135c4aad4c29bd843e8ee3cf696f010d30aaed19 (patch) | |
tree | 5b99e41befa02cd5a526dd6ed08afa7d01719140 | |
parent | network: suffix types with _t in public headers (diff) | |
download | systemd-135c4aad4c29bd843e8ee3cf696f010d30aaed19.tar.xz systemd-135c4aad4c29bd843e8ee3cf696f010d30aaed19.zip |
network: tighten table alignment a bit
-rw-r--r-- | src/network/networkd-util.c | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/src/network/networkd-util.c b/src/network/networkd-util.c index 72861e0f05..52f4e9dbb5 100644 --- a/src/network/networkd-util.c +++ b/src/network/networkd-util.c @@ -9,35 +9,35 @@ #include "util.h" static const char* const address_family_table[_ADDRESS_FAMILY_MAX] = { - [ADDRESS_FAMILY_NO] = "no", - [ADDRESS_FAMILY_YES] = "yes", - [ADDRESS_FAMILY_IPV4] = "ipv4", - [ADDRESS_FAMILY_IPV6] = "ipv6", + [ADDRESS_FAMILY_NO] = "no", + [ADDRESS_FAMILY_YES] = "yes", + [ADDRESS_FAMILY_IPV4] = "ipv4", + [ADDRESS_FAMILY_IPV6] = "ipv6", }; static const char* const routing_policy_rule_address_family_table[_ADDRESS_FAMILY_MAX] = { - [ADDRESS_FAMILY_YES] = "both", - [ADDRESS_FAMILY_IPV4] = "ipv4", - [ADDRESS_FAMILY_IPV6] = "ipv6", + [ADDRESS_FAMILY_YES] = "both", + [ADDRESS_FAMILY_IPV4] = "ipv4", + [ADDRESS_FAMILY_IPV6] = "ipv6", }; static const char* const nexthop_address_family_table[_ADDRESS_FAMILY_MAX] = { - [ADDRESS_FAMILY_IPV4] = "ipv4", - [ADDRESS_FAMILY_IPV6] = "ipv6", + [ADDRESS_FAMILY_IPV4] = "ipv4", + [ADDRESS_FAMILY_IPV6] = "ipv6", }; static const char* const duplicate_address_detection_address_family_table[_ADDRESS_FAMILY_MAX] = { - [ADDRESS_FAMILY_NO] = "none", - [ADDRESS_FAMILY_YES] = "both", - [ADDRESS_FAMILY_IPV4] = "ipv4", - [ADDRESS_FAMILY_IPV6] = "ipv6", + [ADDRESS_FAMILY_NO] = "none", + [ADDRESS_FAMILY_YES] = "both", + [ADDRESS_FAMILY_IPV4] = "ipv4", + [ADDRESS_FAMILY_IPV6] = "ipv6", }; static const char* const dhcp_deprecated_address_family_table[_ADDRESS_FAMILY_MAX] = { - [ADDRESS_FAMILY_NO] = "none", - [ADDRESS_FAMILY_YES] = "both", - [ADDRESS_FAMILY_IPV4] = "v4", - [ADDRESS_FAMILY_IPV6] = "v6", + [ADDRESS_FAMILY_NO] = "none", + [ADDRESS_FAMILY_YES] = "both", + [ADDRESS_FAMILY_IPV4] = "v4", + [ADDRESS_FAMILY_IPV6] = "v6", }; static const char* const dhcp_lease_server_type_table[_SD_DHCP_LEASE_SERVER_TYPE_MAX] = { |