coova-chilli: fix libxt-coova not loading properly from iptables ( openwrt/packages...
[feed/packages.git] / net / coova-chilli / patches / 020-libxt_coova-Use-constructor-instead-of-_init.patch
index 672c34394afe2a030e0c92f3399a2dcb91334439..a364a8ff5010c348cd10e270f7d8956ddaa46ed6 100644 (file)
@@ -26,7 +26,7 @@ Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
  };
  
 -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);