summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/json/dumps/0001set_statements_0.nft
Commit message (Collapse)AuthorAgeFilesLines
* json: add set statement list supportFernando Fernandez Mancera2022-09-011-0/+12
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>