]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
json: add missing map statement stub
authorPablo Neira Ayuso <pablo@netfilter.org>
Thu, 28 Sep 2023 18:34:09 +0000 (20:34 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 28 Sep 2023 18:34:09 +0000 (20:34 +0200)
Add map statement stub to restore compilation without json support.

Fixes: 27a2da23d508 ("netlink_linearize: skip set element expression in map statement key")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/json.h

index abeeb044a87c02f75f8790cf45fd82f76fb63813..39be8928e8ee0585532ec4f8742741cf826535ae 100644 (file)
@@ -189,6 +189,7 @@ STMT_PRINT_STUB(nat)
 STMT_PRINT_STUB(reject)
 STMT_PRINT_STUB(counter)
 STMT_PRINT_STUB(set)
+STMT_PRINT_STUB(map)
 STMT_PRINT_STUB(log)
 STMT_PRINT_STUB(objref)
 STMT_PRINT_STUB(meter)