summaryrefslogtreecommitdiffstats
path: root/tests/py/any/last.t.json
Commit message (Collapse)AuthorAgeFilesLines
* src: add json support for last statementPablo Neira Ayuso2023-06-201-0/+16
This patch adds json support for the last statement, it works for me here. However, tests/py still displays a warning: any/last.t: WARNING: line 12: '{"nftables": [{"add": {"rule": {"family": "ip", "table": "test-ip4", "chain": "input", "expr": [{"last": {"used": 300000}}]}}}]}': '[{"last": {"used": 300000}}]' mismatches '[{"last": null}]' Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>