]> git.ipfire.org Git - thirdparty/iptables.git/commit
xshared: Do not omit all-wildcard interface spec when inverted
authorPhil Sutter <phil@nwl.cc>
Fri, 26 Jul 2024 18:05:48 +0000 (20:05 +0200)
committerPhil Sutter <phil@nwl.cc>
Wed, 31 Jul 2024 21:13:55 +0000 (23:13 +0200)
commit95cdf550cf1c8dfba4fd7af19e5cadc10daead9f
tree5273fb7f78983cd03ef7a4f58020cdb4fa8e6fba
parent25d4d341af5972b5560b31fa5dea72de057cb430
xshared: Do not omit all-wildcard interface spec when inverted

The rule parses correctly, but the (never matching) part is lost on
output.

Looks like a day-1 bug, make it fix the change after which it applies
cleanly.

Fixes: b2197e7834f77 ("xshared: Entirely ignore interface masks when saving rules")
Signed-off-by: Phil Sutter <phil@nwl.cc>
extensions/iptables.t
extensions/libarpt_standard.t
extensions/libebt_standard.t
iptables/xshared.c