diff options
author | Florian Westphal <fw@strlen.de> | 2014-02-17 01:05:37 +0100 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2014-02-18 00:14:42 +0100 |
commit | b14c5eba10906735334cdc22ff48532391f4e6b2 (patch) | |
tree | 33d18a5afeca9b17d4ddc3e127a13d0f6da3a01e /src | |
parent | 38c15e7b1fc713b6d5d6fe18325ae924e69eb9d2 (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')
-rw-r--r-- | src/ct.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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, }; |