From: Florian Westphal Date: Mon, 17 Feb 2014 00:05:37 +0000 (+0100) Subject: ct: direction should be integer, not bitmask X-Git-Tag: v0.2~30 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b14c5eba10906735334cdc22ff48532391f4e6b2;p=thirdparty%2Fnftables.git ct: direction should be integer, not bitmask should always generate cmp op (its enum 0, 1 in kernel). Note: 'original,reply' will no longer work after this patch. Signed-off-by: Florian Westphal Acked-by: Pablo Neira Ayuso --- diff --git a/src/ct.c b/src/ct.c index f893df9a..79d4666c 100644 --- a/src/ct.c +++ b/src/ct.c @@ -61,7 +61,7 @@ static const struct datatype ct_dir_type = { .desc = "conntrack direction", .byteorder = BYTEORDER_INVALID, .size = BITS_PER_BYTE, - .basetype = &bitmask_type, + .basetype = &integer_type, .sym_tbl = &ct_dir_tbl, };