]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
iptables: fix save/restore symlinks with libnftnl PACKAGECONFIG enabled
authorKirill Yatsenko <kiriyatsenko@gmail.com>
Tue, 4 Jun 2024 12:06:49 +0000 (14:06 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 10 Jun 2024 13:27:21 +0000 (14:27 +0100)
commit6579e4333b74232d8b576c399eab88e37da881ac
treea7ca8f4052c6e99790a97d7b50aceb5c19c43ee7
parent9e163246dcbbd2187c9ba28432c613b0d6c850c6
iptables: fix save/restore symlinks with libnftnl PACKAGECONFIG enabled

When the libnftnl PACKAGECONFIG is enabled, the "iptables" symlink is correctly
points to xtables-nft-multi, however the "iptables-save" and
"iptables-restore" are still point to the xtables-legacy-multi.

So, when the "iptables" command is used it's using the nftables backend
where is the "iptables-save/restore" are using the legacy backend.

This is not consistent with other distros (e.g. Ubuntu).

The issue was identified when testing the UFW firewall with nftables backend.

Signed-off-by: Kirill Yatsenko <kiriyatsenko@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/iptables/iptables_1.8.10.bb