diff options
Diffstat (limited to 'src/expr/counter.c')
-rw-r--r-- | src/expr/counter.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/expr/counter.c b/src/expr/counter.c index 171088d..e32a46c 100644 --- a/src/expr/counter.c +++ b/src/expr/counter.c @@ -201,3 +201,8 @@ struct expr_ops expr_ops_counter = { .snprintf = nft_rule_expr_counter_snprintf, .xml_parse = nft_rule_expr_counter_xml_parse, }; + +static void __init expr_counter_init(void) +{ + nft_expr_ops_register(&expr_ops_counter); +} |