diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2017-08-22 18:45:52 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2017-08-23 23:42:33 +0200 |
commit | be441e1ffdc2495162399b61053a8f8c18ebc5b6 (patch) | |
tree | 6c49381c37635690f69c8d21f52c24648b53210f /include/parser.h | |
parent | e1946ec7f11e2c6daa11b141eb344ef44642056f (diff) |
src: add debugging mask to context structure
So this toggle is not global anymore. Update name that fits better with
the semantics of this variable.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/parser.h')
-rw-r--r-- | include/parser.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/parser.h b/include/parser.h index df602682..0e266d60 100644 --- a/include/parser.h +++ b/include/parser.h @@ -32,7 +32,8 @@ struct parser_state { struct mnl_socket; extern void parser_init(struct mnl_socket *nf_sock, struct nft_cache *cache, - struct parser_state *state, struct list_head *msgs); + struct parser_state *state, struct list_head *msgs, + unsigned int debug_level); extern int nft_parse(struct nft_ctx *ctx, void *, struct parser_state *state); extern void *scanner_init(struct parser_state *state); |