]> git.ipfire.org Git - thirdparty/iptables.git/commit
nft-shared: Use nft_create_match() in one more spot
authorPhil Sutter <phil@nwl.cc>
Thu, 16 Feb 2023 21:05:24 +0000 (22:05 +0100)
committerPhil Sutter <phil@nwl.cc>
Fri, 17 Feb 2023 17:18:48 +0000 (18:18 +0100)
commit073d4deddd8f3fc5b6c0b6e62b28f5b1895974b1
tree601f96594b94e927ca4acd2ed4ef18c8325a1402
parentf5993955ab1d1ef34a0729af2eb58e1eb4f084da
nft-shared: Use nft_create_match() in one more spot

By dropping the per-family 'cs->matches' selection (which is the default
anyway), code becomes identical to the function's body.

Signed-off-by: Phil Sutter <phil@nwl.cc>
iptables/nft-shared.c