diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2017-08-22 18:09:12 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2017-08-23 23:42:33 +0200 |
commit | 4dedecf4d64ef64f7f86efeeed117be931005282 (patch) | |
tree | c944c2079722c37cb529eb609665b152bea60ed4 /include/nftables.h | |
parent | af038fcf186496ba07fe1cf59263b6741a0988da (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/nftables.h')
-rw-r--r-- | include/nftables.h | 2 |
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 { |