summaryrefslogtreecommitdiffstats
path: root/src/expr/exthdr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/expr/exthdr.c')
-rw-r--r--src/expr/exthdr.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/expr/exthdr.c b/src/expr/exthdr.c
index eddcd00..a89d17b 100644
--- a/src/expr/exthdr.c
+++ b/src/expr/exthdr.c
@@ -317,3 +317,8 @@ struct expr_ops expr_ops_exthdr = {
.snprintf = nft_rule_expr_exthdr_snprintf,
.xml_parse = nft_rule_expr_exthdr_xml_parse,
};
+
+static void __init expr_exthdr_init(void)
+{
+ nft_expr_ops_register(&expr_ops_exthdr);
+}