Skip to content

Commit

Permalink
coova-chilli: fix libxt-coova not loading properly from iptables ( #2…
Browse files Browse the repository at this point in the history
…3092 )

Signed-off-by: Pierre Parent <[email protected]>
  • Loading branch information
pparent76 committed Feb 14, 2024
1 parent fa69fdc commit 2f09d5f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion net/coova-chilli/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk

PKG_NAME:=coova-chilli
PKG_VERSION:=1.6
PKG_RELEASE:=10
PKG_RELEASE:=11

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/coova/coova-chilli/tar.gz/$(PKG_VERSION)?
Expand Down
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 2f09d5f

Please sign in to comment.