summaryrefslogtreecommitdiffstats
path: root/iptables/xtables-legacy-multi.c
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2023-02-16 22:24:16 +0100
committerPhil Sutter <phil@nwl.cc>2023-02-17 18:18:48 +0100
commite69c2b467d7567027db14d48570fe277495ed52f (patch)
treec5b887ac2312c2623a7bb4c32146e3a6d4f5acd6 /iptables/xtables-legacy-multi.c
parent073d4deddd8f3fc5b6c0b6e62b28f5b1895974b1 (diff)
nft-shared: Simplify using nft_create_match()
Perform the nft_family_ops::parse_match call from inside nft_create_match(). It frees callers from having to access the match itself. Then return a pointer to match data instead of the match itself. Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'iptables/xtables-legacy-multi.c')
0 files changed, 0 insertions, 0 deletions