summaryrefslogtreecommitdiffstats
path: root/src/expr/match.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/expr/match.c')
-rw-r--r--src/expr/match.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/expr/match.c b/src/expr/match.c
index 01d8cef..8bc2878 100644
--- a/src/expr/match.c
+++ b/src/expr/match.c
@@ -265,3 +265,8 @@ struct expr_ops expr_ops_match = {
.snprintf = nft_rule_expr_match_snprintf,
.xml_parse = nft_rule_expr_match_xml_parse,
};
+
+static void __init expr_match_init(void)
+{
+ nft_expr_ops_register(&expr_ops_match);
+}