summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAna Rey <anarey@gmail.com>2014-09-02 20:13:25 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2014-09-03 14:22:48 +0200
commit8fa789fe28af5ea252577efd9ea41e7981d4460c (patch)
tree37d22afc75029dad3da91aa764a65063118e73cc /src
parent3be154c10f3e6ea705eb88ab1b3d2a25aab1be06 (diff)
src: meta: Fix the size of cpu attribute
Fix the size of cpu attribute in meta_template struct. Signed-off-by: Ana Rey <anarey@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src')
-rw-r--r--src/meta.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/meta.c b/src/meta.c
index 1f7217f0..bf41ac46 100644
--- a/src/meta.c
+++ b/src/meta.c
@@ -394,7 +394,7 @@ static const struct meta_template meta_templates[] = {
BITS_PER_BYTE,
BYTEORDER_HOST_ENDIAN),
[NFT_META_CPU] = META_TEMPLATE("cpu", &integer_type,
- BITS_PER_BYTE,
+ 4 * BITS_PER_BYTE,
BYTEORDER_HOST_ENDIAN),
};