summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2023-09-28 20:34:09 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2023-11-03 12:24:21 +0100
commitfba8fbeb18225f9d4952fa61fb5a263ae07a26ee (patch)
tree3b21b06ce99b0cc919a2ccbf80837ab12e43cc6b
parent79485718ac6a4fd123155ae02a19780f14bb73e2 (diff)
json: add missing map statement stub
commit c0f820fd34549239e73758dda0b88f3d339e1a5c upstream. 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>
-rw-r--r--include/json.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/json.h b/include/json.h
index 9154f663..1047c88d 100644
--- a/include/json.h
+++ b/include/json.h
@@ -187,6 +187,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)