diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-08-31 17:07:01 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-09-02 11:51:49 +0200 |
commit | 28893376911ac7ed49f8db0504f3c105a821e7a8 (patch) | |
tree | ef46433d3af79e891d29f1ef4054e861e7415d84 /src/expr/numgen.c | |
parent | 4afde4452c2eb450a7febd19c417a41661962d59 (diff) |
include: resync nf_tables.h cache copy
Sync this with the kernel header file we currently have in tree.
This patch addresses the compilation warning and breakage as result of
this header update, specifically the "attibute" typo in trace and
missing default case in expr/numgen.c.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/expr/numgen.c')
-rw-r--r-- | src/expr/numgen.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/expr/numgen.c b/src/expr/numgen.c index 0669eda..7f2b425 100644 --- a/src/expr/numgen.c +++ b/src/expr/numgen.c @@ -23,7 +23,7 @@ struct nftnl_expr_ng { enum nft_registers dreg; unsigned int until; - enum nft_ng_type type; + enum nft_ng_types type; }; static int @@ -200,6 +200,8 @@ nftnl_expr_ng_snprintf_default(char *buf, size_t size, ng->until); SNPRINTF_BUFFER_SIZE(ret, size, len, offset); break; + default: + break; } return offset; |