diff options
author | Patrick McHardy <kaber@trash.net> | 2014-12-11 20:33:39 +0000 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2014-12-11 22:09:12 +0000 |
commit | ede3a889260f240cae0786790cc0503fcad894d6 (patch) | |
tree | e64ff0735871d23ce03d2227b0e717c51b6c46ac /src/meta.c | |
parent | d9a9a794a56e2f185ecf9ce18fc440fa2d4d32ad (diff) |
meta: properly align types in meta_template table
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>
Diffstat (limited to 'src/meta.c')
-rw-r--r-- | src/meta.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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), }; |