Skip to content
Commit 2c0d03ed authored by Kirill Yatsenko's avatar Kirill Yatsenko Committed by Steve Sakoman
Browse files

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: default avatarKirill Yatsenko <kiriyatsenko@gmail.com>
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6579e433)
Signed-off-by: default avatarSteve Sakoman <steve@sakoman.com>
parent 6f73c5df
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment