summaryrefslogtreecommitdiffstats
path: root/rules/iptables.in
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2018-03-29 11:13:27 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2018-03-29 11:13:27 +0200
commit94f8d46a0b07898b2f685a7fa4b37fc50c76ea8b (patch)
treebc91db2a2e122767b0ea4b7b8fed7c8b82880140 /rules/iptables.in
parent2f98d614a0e8b8a468678432f21fa34175d5443d (diff)
downloadptxdist-94f8d46a0b07898b2f685a7fa4b37fc50c76ea8b.tar.gz
ptxdist-94f8d46a0b07898b2f685a7fa4b37fc50c76ea8b.tar.xz
iptables: fix nftables dependencies
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/iptables.in')
-rw-r--r--rules/iptables.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/rules/iptables.in b/rules/iptables.in
index 3cad506d0..f3be89b83 100644
--- a/rules/iptables.in
+++ b/rules/iptables.in
@@ -6,8 +6,9 @@ menuconfig IPTABLES
select LIBC_M
select LIBC_DL
select GCCLIBS_GCC_S
- select LIBNFTNL
- select LIBNFNETLINK if IPTABLES_LIBNFNETLINK
+ select LIBNFTNL if IPTABLES_NFTABLES_COMPAT
+ select NFTABLES if IPTABLES_NFTABLES_COMPAT && RUNTIME
+ select LIBNFNETLINK if IPTABLES_LIBNFNETLINK
help
Iptables is used to set up, maintain, and inspect the
tables of IP packet filter rules in the Linux kernel.
@@ -75,7 +76,6 @@ config IPTABLES_LIBNFNETLINK
config IPTABLES_NFTABLES_COMPAT
bool
- select NFTABLES
prompt "nftables compat"
help
install xtables-compat-multi, allowing compability with nftables