From be441e1ffdc2495162399b61053a8f8c18ebc5b6 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Tue, 22 Aug 2017 18:45:52 +0200 Subject: 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 --- include/nftables.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include/nftables.h') 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, -- cgit v1.2.3