summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2017-08-22 18:09:12 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2017-08-23 23:42:33 +0200
commit4dedecf4d64ef64f7f86efeeed117be931005282 (patch)
treec944c2079722c37cb529eb609665b152bea60ed4 /include
parentaf038fcf186496ba07fe1cf59263b6741a0988da (diff)
src: add maximum number of parser errors to struct nft_ctx
Not a global variable anymore. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include')
-rw-r--r--include/nftables.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/nftables.h b/include/nftables.h
index 8399b1ae..8858ad60 100644
--- a/include/nftables.h
+++ b/include/nftables.h
@@ -41,12 +41,12 @@ struct nft_cache {
struct nft_ctx {
const char *include_paths[INCLUDE_PATHS_MAX];
unsigned int num_include_paths;
+ unsigned int parser_max_errors;
struct output_ctx output;
bool check;
struct nft_cache cache;
};
-extern unsigned int max_errors;
extern unsigned int debug_level;
enum nftables_exit_codes {