diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-10-22 12:38:35 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-10-22 21:45:37 +0200 |
commit | 00f777bfc414af1e1384a213adc91ae4ecf6cbdf (patch) | |
tree | 5bc6716fc07d7f0e129304fa8e05cb1908d1b9ab /src/parser_bison.y | |
parent | 6e7aea790124495a49b989c508e2ca4d79c82459 (diff) |
src: pass struct nft_ctx through struct eval_ctx
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/parser_bison.y')
-rw-r--r-- | src/parser_bison.y | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/parser_bison.y b/src/parser_bison.y index 947a3cde..36a98719 100644 --- a/src/parser_bison.y +++ b/src/parser_bison.y @@ -45,11 +45,8 @@ void parser_init(struct nft_ctx *nft, struct parser_state *state, state->msgs = msgs; state->cmds = cmds; state->scopes[0] = scope_init(&state->top_scope, NULL); - state->ectx.cache = &nft->cache; + state->ectx.nft = nft; state->ectx.msgs = msgs; - state->ectx.nf_sock = nft->nf_sock; - state->ectx.debug_mask = nft->debug_mask; - state->ectx.octx = &nft->output; } static void yyerror(struct location *loc, struct nft_ctx *nft, void *scanner, |