Skip to content

Commit

Permalink
coova-chilli: fix libxt-coova not loading properly from iptables ( op…
Browse files Browse the repository at this point in the history
  • Loading branch information
pparent76 committed Feb 12, 2024
1 parent fa69fdc commit ea5c963
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Signed-off-by: Hauke Mehrtens <[email protected]>
};

-void _init(void)
+void __attribute__ ((constructor)) xtables_init(void)
+void __attribute__ ((constructor)) libxt_coova_init(void)
{
xtables_register_match(&coova_mt_reg);
xtables_register_match(&coova_mt6_reg);

0 comments on commit ea5c963

Please sign in to comment.