summaryrefslogtreecommitdiffstats
path: root/src/ct.c
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2014-02-17 01:05:37 +0100
committerFlorian Westphal <fw@strlen.de>2014-02-18 00:14:42 +0100
commitb14c5eba10906735334cdc22ff48532391f4e6b2 (patch)
tree33d18a5afeca9b17d4ddc3e127a13d0f6da3a01e /src/ct.c
parent38c15e7b1fc713b6d5d6fe18325ae924e69eb9d2 (diff)
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 <fw@strlen.de> Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/ct.c')
-rw-r--r--src/ct.c2
1 files changed, 1 insertions, 1 deletions
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,
};