summaryrefslogtreecommitdiffstats
path: root/iptables/nft-cache.c
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2020-07-08 15:18:48 +0200
committerPhil Sutter <phil@nwl.cc>2020-07-24 19:16:09 +0200
commitdb3a63237fe21de8a75eaaddf0cc577ce30a68fe (patch)
tree95a3f9cce07890784feaf4b7a5892a860679f5f8 /iptables/nft-cache.c
parent7a700c47fe121c65c550ab24de3284abbb1e82f8 (diff)
nft: Turn nft_chain_save() into a foreach-callback
Let nftnl_chain_list_foreach() do the chain list iterating instead of open-coding it. While being at it, simplify the policy value selection code as well. Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'iptables/nft-cache.c')
0 files changed, 0 insertions, 0 deletions