From: Ana Rey Date: Tue, 2 Sep 2014 18:13:25 +0000 (+0200) Subject: src: meta: Fix the size of cpu attribute X-Git-Tag: v0.4~102 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8fa789fe28af5ea252577efd9ea41e7981d4460c;p=thirdparty%2Fnftables.git 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 --- diff --git a/src/meta.c b/src/meta.c index 1f7217f06..bf41ac467 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), };