]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
meta: properly align types in meta_template table
authorPatrick McHardy <kaber@trash.net>
Thu, 11 Dec 2014 20:33:39 +0000 (20:33 +0000)
committerPatrick McHardy <kaber@trash.net>
Thu, 11 Dec 2014 22:09:12 +0000 (22:09 +0000)
Don't use arbitrary amounts of spaces. The remaining table is
properly aligned, fix the new types.

Signed-off-by: Patrick McHardy <kaber@trash.net>
src/meta.c

index f33837cdd1bb6dc793230b698e5321c93f8d7359..6ff5fc87823b19d73e70e4814bb68c7a2712852c 100644 (file)
@@ -398,19 +398,19 @@ static const struct meta_template meta_templates[] = {
        [NFT_META_BRI_OIFNAME]  = META_TEMPLATE("obriport",  &string_type,
                                                IFNAMSIZ * BITS_PER_BYTE,
                                                BYTEORDER_HOST_ENDIAN),
-       [NFT_META_PKTTYPE]      = META_TEMPLATE("pkttype",  &pkttype_type,
+       [NFT_META_PKTTYPE]      = META_TEMPLATE("pkttype",   &pkttype_type,
                                                BITS_PER_BYTE,
                                                BYTEORDER_HOST_ENDIAN),
-       [NFT_META_CPU]          = META_TEMPLATE("cpu",  &integer_type,
+       [NFT_META_CPU]          = META_TEMPLATE("cpu",       &integer_type,
                                                4 * BITS_PER_BYTE,
                                                BYTEORDER_HOST_ENDIAN),
-       [NFT_META_IIFGROUP]     = META_TEMPLATE("iifgroup", &devgroup_type,
+       [NFT_META_IIFGROUP]     = META_TEMPLATE("iifgroup",  &devgroup_type,
                                                4 * BITS_PER_BYTE,
                                                BYTEORDER_HOST_ENDIAN),
-       [NFT_META_OIFGROUP]     = META_TEMPLATE("oifgroup", &devgroup_type,
+       [NFT_META_OIFGROUP]     = META_TEMPLATE("oifgroup",  &devgroup_type,
                                                4 * BITS_PER_BYTE,
                                                BYTEORDER_HOST_ENDIAN),
-       [NFT_META_CGROUP]       = META_TEMPLATE("cgroup",  &integer_type,
+       [NFT_META_CGROUP]       = META_TEMPLATE("cgroup",    &integer_type,
                                                4 * BITS_PER_BYTE,
                                                BYTEORDER_HOST_ENDIAN),
 };