summaryrefslogtreecommitdiffstats
path: root/include/rule.h
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2017-05-24 20:05:54 +0200
committerFlorian Westphal <fw@strlen.de>2017-09-27 20:01:54 +0200
commit14fd3ad720f6ea629814b8e9307169010f596f6b (patch)
treef5d4dc764d3aed0d174d6cbfaa7abff5649e25df /include/rule.h
parent25831cdef94b4b86d12e3eec134dd029c37c479e (diff)
src: prepare for future ct timeout policy support
Change all places that expect ct helper tokens (ct helper configuration) to CT HELPER. ct_obj_kind is removed. When we add ct timeout support, we will add a new ct_timeout_block, plus extra rules. We won't extend ct_block, it prevents the parser from detecting bogus syntax that only makes sense for ct helper but not for something else for instance. ct_block should be renamed to ct_helper_block, will be done in followup patch. Signed-off-by: Florian Westphal <fw@strlen.de> Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/rule.h')
-rw-r--r--include/rule.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rule.h b/include/rule.h
index e2a5c87b..6f52b17f 100644
--- a/include/rule.h
+++ b/include/rule.h
@@ -463,7 +463,7 @@ extern struct cmd *cmd_alloc(enum cmd_ops op, enum cmd_obj obj,
extern void nft_cmd_expand(struct cmd *cmd);
extern struct cmd *cmd_alloc_obj_ct(enum cmd_ops op, int type,
const struct handle *h,
- const struct location *loc, void *data);
+ const struct location *loc, struct obj *obj);
extern void cmd_free(struct cmd *cmd);
#include <payload.h>