From: Zbigniew Jędrzejewski-Szmek Date: Mon, 16 Oct 2023 10:35:33 +0000 (+0200) Subject: shared/netif-naming-scheme: align tables X-Git-Tag: v255-rc1~224^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8b01831950481b3b5b1b47da9e0495bc60df822e;p=thirdparty%2Fsystemd.git shared/netif-naming-scheme: align tables --- diff --git a/src/shared/netif-naming-scheme.c b/src/shared/netif-naming-scheme.c index 3118ca3efba..7fe19d48775 100644 --- a/src/shared/netif-naming-scheme.c +++ b/src/shared/netif-naming-scheme.c @@ -88,23 +88,23 @@ const NamingScheme* naming_scheme(void) { } static const char* const name_policy_table[_NAMEPOLICY_MAX] = { - [NAMEPOLICY_KERNEL] = "kernel", - [NAMEPOLICY_KEEP] = "keep", + [NAMEPOLICY_KERNEL] = "kernel", + [NAMEPOLICY_KEEP] = "keep", [NAMEPOLICY_DATABASE] = "database", - [NAMEPOLICY_ONBOARD] = "onboard", - [NAMEPOLICY_SLOT] = "slot", - [NAMEPOLICY_PATH] = "path", - [NAMEPOLICY_MAC] = "mac", + [NAMEPOLICY_ONBOARD] = "onboard", + [NAMEPOLICY_SLOT] = "slot", + [NAMEPOLICY_PATH] = "path", + [NAMEPOLICY_MAC] = "mac", }; DEFINE_STRING_TABLE_LOOKUP(name_policy, NamePolicy); static const char* const alternative_names_policy_table[_NAMEPOLICY_MAX] = { [NAMEPOLICY_DATABASE] = "database", - [NAMEPOLICY_ONBOARD] = "onboard", - [NAMEPOLICY_SLOT] = "slot", - [NAMEPOLICY_PATH] = "path", - [NAMEPOLICY_MAC] = "mac", + [NAMEPOLICY_ONBOARD] = "onboard", + [NAMEPOLICY_SLOT] = "slot", + [NAMEPOLICY_PATH] = "path", + [NAMEPOLICY_MAC] = "mac", }; DEFINE_STRING_TABLE_LOOKUP(alternative_names_policy, NamePolicy);