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/nftables.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/nftables.h')
-rw-r--r-- | include/nftables.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/nftables.h b/include/nftables.h index 8858ad60..c992d302 100644 --- a/include/nftables.h +++ b/include/nftables.h @@ -42,13 +42,12 @@ struct nft_ctx { const char *include_paths[INCLUDE_PATHS_MAX]; unsigned int num_include_paths; unsigned int parser_max_errors; + unsigned int debug_mask; struct output_ctx output; bool check; struct nft_cache cache; }; -extern unsigned int debug_level; - enum nftables_exit_codes { NFT_EXIT_SUCCESS = 0, NFT_EXIT_FAILURE = 1, |