summaryrefslogtreecommitdiffstats
path: root/src/exthdr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/exthdr.c')
-rw-r--r--src/exthdr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/exthdr.c b/src/exthdr.c
index 06a82070..cb0a58e8 100644
--- a/src/exthdr.c
+++ b/src/exthdr.c
@@ -70,6 +70,7 @@ const struct expr_ops exthdr_expr_ops = {
.type = EXPR_EXTHDR,
.name = "exthdr",
.print = exthdr_expr_print,
+ .json = exthdr_expr_json,
.cmp = exthdr_expr_cmp,
.clone = exthdr_expr_clone,
};
@@ -107,6 +108,7 @@ static const struct stmt_ops exthdr_stmt_ops = {
.type = STMT_EXTHDR,
.name = "exthdr",
.print = exthdr_stmt_print,
+ .json = exthdr_stmt_json,
};
struct stmt *exthdr_stmt_alloc(const struct location *loc,