]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
json: missing catchall expression stub with ./configure --without-json
authorPablo Neira Ayuso <pablo@netfilter.org>
Fri, 4 Jun 2021 14:55:04 +0000 (16:55 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 4 Jun 2021 14:57:11 +0000 (16:57 +0200)
set_elem_catchall_expr_json undeclared here (not in a function); did you mean 'set_elem_catchall_expr_ops'?
 1344 |         .json           = set_elem_catchall_expr_json,
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                           set_elem_catchall_expr_ops

https://bugzilla.netfilter.org/show_bug.cgi?id=1542
Fixes: 5c2c6b092860 json: catchall element support
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/json.h

index 015e3ac780f819927d7306cd2d356ca2281f0e5f..3db9f2782d11ac6767e967c3fcf7cc4506bd53a7 100644 (file)
@@ -147,6 +147,7 @@ EXPR_PRINT_STUB(map_expr)
 EXPR_PRINT_STUB(exthdr_expr)
 EXPR_PRINT_STUB(verdict_expr)
 EXPR_PRINT_STUB(rt_expr)
+EXPR_PRINT_STUB(set_elem_catchall_expr)
 EXPR_PRINT_STUB(numgen_expr)
 EXPR_PRINT_STUB(hash_expr)
 EXPR_PRINT_STUB(fib_expr)