summaryrefslogtreecommitdiffstats
path: root/src/expr/cmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/expr/cmp.c')
-rw-r--r--src/expr/cmp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/expr/cmp.c b/src/expr/cmp.c
index 3f795bc..f49261f 100644
--- a/src/expr/cmp.c
+++ b/src/expr/cmp.c
@@ -305,3 +305,7 @@ struct expr_ops expr_ops_cmp = {
.snprintf = nft_rule_expr_cmp_snprintf,
.xml_parse = nft_rule_expr_cmp_xml_parse,
};
+static void __init expr_cmp_init(void)
+{
+ nft_expr_ops_register(&expr_ops_cmp);
+}