diff options
author | Phil Sutter <phil@nwl.cc> | 2018-06-08 17:27:17 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-06-11 11:31:49 +0200 |
commit | 78f8d8127eac64abb14e1d4a4309b353ba03bdb6 (patch) | |
tree | 7adf2aab7ce8d98eb6ebf2bf7bb785d213fe132a /src/statement.c | |
parent | e8b5419b94e230d008d6701b66d02434a7cb1152 (diff) |
JSON: Add support for connlimit statement
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/statement.c')
-rw-r--r-- | src/statement.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/statement.c b/src/statement.c index 58e86f21..6f5e6660 100644 --- a/src/statement.c +++ b/src/statement.c @@ -159,6 +159,7 @@ static const struct stmt_ops connlimit_stmt_ops = { .type = STMT_CONNLIMIT, .name = "connlimit", .print = connlimit_stmt_print, + .json = connlimit_stmt_json, }; struct stmt *connlimit_stmt_alloc(const struct location *loc) |