diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/ct.h | 3 | ||||
-rw-r--r-- | include/expression.h | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/include/ct.h b/include/ct.h index d9a11a3f..ec5d55d8 100644 --- a/include/ct.h +++ b/include/ct.h @@ -24,7 +24,8 @@ struct ct_template { } extern struct expr *ct_expr_alloc(const struct location *loc, - enum nft_ct_keys key, int8_t direction); + enum nft_ct_keys key, int8_t direction, + uint8_t nfproto); extern void ct_expr_update_type(struct proto_ctx *ctx, struct expr *expr); extern struct stmt *notrack_stmt_alloc(const struct location *loc); diff --git a/include/expression.h b/include/expression.h index ce6b702a..215cbc98 100644 --- a/include/expression.h +++ b/include/expression.h @@ -300,7 +300,9 @@ struct expr { struct { /* EXPR_CT */ enum nft_ct_keys key; + enum proto_bases base; int8_t direction; + uint8_t nfproto; } ct; struct { /* EXPR_NUMGEN */ |