summaryrefslogtreecommitdiffstats
path: root/src/rule.c
diff options
context:
space:
mode:
authorFernando Fernandez Mancera <ffmancera@riseup.net>2022-09-01 12:31:43 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2022-09-01 13:11:19 +0200
commit07958ec53830d4c14b65fa4115c02715dc9c0d47 (patch)
tree9d3f43772573758ad56d41eacef5d21d48089d31 /src/rule.c
parentc5204d07bb22db2362260f2f99e0ffa8ea02ce7b (diff)
json: add set statement list support
When listing a set with statements with JSON support, the statements were ignored. Output example: { "set": { "op": "add", "elem": { "payload": { "protocol": "ip", "field": "saddr" } }, "stmt": [ { "limit": { "rate": 10, "burst": 5, "per": "second" } }, { "counter": { "packets": 0, "bytes": 0 } } ], "set": "@my_ssh_meter" } } Link: https://bugzilla.netfilter.org/show_bug.cgi?id=1495 Signed-off-by: Fernando Fernandez Mancera <ffmancera@riseup.net> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/rule.c')
0 files changed, 0 insertions, 0 deletions