coova-chilli: fix libxt-coova not loading properly from iptables ( openwrt/packages#23092 )
Signed-off-by: Pierre Parent <m@pierre-parent.fr>
This commit is contained in:
parent
0bb9240f6b
commit
61ba390b65
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=coova-chilli
|
PKG_NAME:=coova-chilli
|
||||||
PKG_VERSION:=1.6
|
PKG_VERSION:=1.6
|
||||||
PKG_RELEASE:=10
|
PKG_RELEASE:=11
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=https://codeload.github.com/coova/coova-chilli/tar.gz/$(PKG_VERSION)?
|
PKG_SOURCE_URL:=https://codeload.github.com/coova/coova-chilli/tar.gz/$(PKG_VERSION)?
|
||||||
|
|
|
@ -26,7 +26,7 @@ Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
|
||||||
};
|
};
|
||||||
|
|
||||||
-void _init(void)
|
-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_mt_reg);
|
||||||
xtables_register_match(&coova_mt6_reg);
|
xtables_register_match(&coova_mt6_reg);
|
||||||
|
|
Loading…
Reference in New Issue