From 78f8d8127eac64abb14e1d4a4309b353ba03bdb6 Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Fri, 8 Jun 2018 17:27:17 +0200 Subject: JSON: Add support for connlimit statement Signed-off-by: Phil Sutter Signed-off-by: Pablo Neira Ayuso --- include/json.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/json.h b/include/json.h index 1972bc84..0a93bca8 100644 --- a/include/json.h +++ b/include/json.h @@ -74,6 +74,7 @@ json_t *objref_stmt_json(const struct stmt *stmt, struct output_ctx *octx); json_t *meter_stmt_json(const struct stmt *stmt, struct output_ctx *octx); json_t *queue_stmt_json(const struct stmt *stmt, struct output_ctx *octx); json_t *verdict_stmt_json(const struct stmt *stmt, struct output_ctx *octx); +json_t *connlimit_stmt_json(const struct stmt *stmt, struct output_ctx *octx); int do_command_list_json(struct netlink_ctx *ctx, struct cmd *cmd); @@ -149,6 +150,7 @@ STMT_PRINT_STUB(objref) STMT_PRINT_STUB(meter) STMT_PRINT_STUB(queue) STMT_PRINT_STUB(verdict) +STMT_PRINT_STUB(connlimit) #undef STMT_PRINT_STUB #undef EXPR_PRINT_STUB -- cgit v1.2.3