summaryrefslogtreecommitdiffstats
path: root/iptables/iptables-apply
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2018-12-20 16:09:17 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2018-12-27 20:45:18 +0100
commit0b950ed4549308ef23ffc7561567df86c90cfed9 (patch)
treed53ac8bcceff6e5c141f102dd2db4fcd895a674a /iptables/iptables-apply
parente80f7fe56e4c64e05da426418bc2fae7ca221c49 (diff)
xtables: Optimize user-defined chain deletion
Make use of nftnl_chain_list_lookup_byname() if a chain name was given. Move the actual chain deleting code into a callback suitable for passing to nftnl_chain_list_foreach(). Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'iptables/iptables-apply')
0 files changed, 0 insertions, 0 deletions