Skip to content
Snippets Groups Projects
Commit 316c406e authored by Etienne Champetier's avatar Etienne Champetier Committed by Hauke Mehrtens
Browse files

iptables: move IPTABLES_{CONNLABEL,NFTABLES} to libxtables


Those 2 configs are not specific to iptables(-legacy)

Signed-off-by: default avatarEtienne Champetier <champetier.etienne@gmail.com>
parent d35a5730
No related branches found
No related tags found
No related merge requests found
...@@ -47,7 +47,6 @@ endef ...@@ -47,7 +47,6 @@ endef
define Package/iptables define Package/iptables
$(call Package/iptables/Default) $(call Package/iptables/Default)
TITLE:=IP firewall administration tool TITLE:=IP firewall administration tool
MENU:=1
DEPENDS+= +kmod-ipt-core +libip4tc +IPV6:libip6tc +libxtables DEPENDS+= +kmod-ipt-core +libip4tc +IPV6:libip6tc +libxtables
ALTERNATIVES:=\ ALTERNATIVES:=\
200:/usr/sbin/iptables:/usr/sbin/xtables-legacy-multi \ 200:/usr/sbin/iptables:/usr/sbin/xtables-legacy-multi \
...@@ -55,20 +54,6 @@ $(call Package/iptables/Default) ...@@ -55,20 +54,6 @@ $(call Package/iptables/Default)
200:/usr/sbin/iptables-save:/usr/sbin/xtables-legacy-multi 200:/usr/sbin/iptables-save:/usr/sbin/xtables-legacy-multi
endef endef
define Package/iptables/config
config IPTABLES_CONNLABEL
bool "Enable Connlabel support"
default n
help
This enable connlabel support in iptables.
config IPTABLES_NFTABLES
bool "Enable Nftables support"
default y
help
This enable nftables support in iptables.
endef
define Package/iptables/description define Package/iptables/description
IP firewall administration tool. IP firewall administration tool.
...@@ -525,10 +510,25 @@ define Package/libxtables ...@@ -525,10 +510,25 @@ define Package/libxtables
SECTION:=libs SECTION:=libs
CATEGORY:=Libraries CATEGORY:=Libraries
TITLE:=IPv4/IPv6 firewall - shared xtables library TITLE:=IPv4/IPv6 firewall - shared xtables library
MENU:=1
ABI_VERSION:=12 ABI_VERSION:=12
DEPENDS:=+IPTABLES_CONNLABEL:libnetfilter-conntrack DEPENDS:=+IPTABLES_CONNLABEL:libnetfilter-conntrack
endef endef
define Package/libxtables/config
config IPTABLES_CONNLABEL
bool "Enable Connlabel support"
default n
help
This enable connlabel support in iptables.
config IPTABLES_NFTABLES
bool "Enable Nftables support"
default y
help
This enable nftables support in iptables.
endef
define Package/libxtables-nft define Package/libxtables-nft
$(call Package/iptables/Default) $(call Package/iptables/Default)
SECTION:=libs SECTION:=libs
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment