From 8fa789fe28af5ea252577efd9ea41e7981d4460c Mon Sep 17 00:00:00 2001 From: Ana Rey Date: Tue, 2 Sep 2014 20:13:25 +0200 Subject: src: meta: Fix the size of cpu attribute Fix the size of cpu attribute in meta_template struct. Signed-off-by: Ana Rey Signed-off-by: Pablo Neira Ayuso --- src/meta.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/meta.c') 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), }; -- cgit v1.2.3