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-09-28 20:34:09 +0200
commitc0f820fd34549239e73758dda0b88f3d339e1a5c (patch)
tree199e0826f091e1e283497f0b82d9b61c98fc0ded
parenta61f9f66f60f865f65be03374dc0277cce4f490a (diff)
json: add missing map statement stub
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 abeeb044..39be8928 100644
--- a/include/json.h
+++ b/include/json.h
@@ -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)