diff options
author | Phil Sutter <phil@nwl.cc> | 2022-11-24 14:17:17 +0100 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2022-12-13 14:59:55 +0100 |
commit | 79195a8cc9e9d9cf2d17165bf07ac4cc9d55539f (patch) | |
tree | e339339c6b37040ccd5603dddc55fe7fb32c38c0 /src/statement.c | |
parent | e432477f5c013d0ca56f9fc5f9ac7cf35301b0b9 (diff) |
xt: Rewrite unsupported compat expression dumping
Choose a format which provides more information and is easily parseable.
Then teach parsers about it and make it explicitly reject the ruleset
giving a meaningful explanation. Also update the man pages with some
more details.
Signed-off-by: Phil Sutter <phil@nwl.cc>
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 327d00f9..eafc51c4 100644 --- a/src/statement.c +++ b/src/statement.c @@ -997,6 +997,7 @@ static const struct stmt_ops xt_stmt_ops = { .name = "xt", .print = xt_stmt_print, .destroy = xt_stmt_destroy, + .json = xt_stmt_json, }; struct stmt *xt_stmt_alloc(const struct location *loc) |