iptables: default to ip(6)tables-nft
authorEtienne Champetier <champetier.etienne@gmail.com>
Sun, 26 Jun 2022 04:54:45 +0000 (04:54 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Wed, 29 Jun 2022 20:39:56 +0000 (22:39 +0200)
commitfb3b9276435fff00ecf1c3fb9761ded625136b3b
tree56fdc41c17d5bb7d0ca44fffa9504cf23f2788a2
parente4caacc88785b150bca868080160155692db33aa
iptables: default to ip(6)tables-nft

OpenWrt now uses firewall4 (nft) by default,
so iptables should also default to nftables backend.

When multiple packages provide the same virtual package,
opkg pick the first one by alphabetical order,
so we rename iptables-legacy to iptables-zz-legacy and add
iptables-legacy in PROVIDES.

We also need to remove IPTABLES_NFTABLES config as
this cause recursive dependencies.

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
(cherry picked from commit 35fec487e30f05c81bd135326a993dad7f861812)
package/network/utils/iptables/Makefile