]> git.ipfire.org Git - thirdparty/iptables.git/commit
ebtables: Fix for -S with rule number
authorPhil Sutter <phil@nwl.cc>
Wed, 9 Oct 2024 15:49:41 +0000 (17:49 +0200)
committerPhil Sutter <phil@nwl.cc>
Wed, 16 Oct 2024 13:34:50 +0000 (15:34 +0200)
commit4d36046edada7a6cd4a619ac53496a6d74947f65
tree23b812a5b65eb758d678544c9d132210adcd8811
parent05af72ca6184f08435c1ef31436e1eb7ac931e14
ebtables: Fix for -S with rule number

For NFT_COMPAT_RULE_SAVE, one has to store the rule number, not its
index in nft_cmd object.

Fixes: 58d364c7120b5 ("ebtables: Use do_parse() from xshared")
Signed-off-by: Phil Sutter <phil@nwl.cc>
iptables/xtables-eb.c