diff options
author | Phil Sutter <phil@nwl.cc> | 2018-12-20 16:09:17 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-12-27 20:45:18 +0100 |
commit | 0b950ed4549308ef23ffc7561567df86c90cfed9 (patch) | |
tree | d53ac8bcceff6e5c141f102dd2db4fcd895a674a /iptables/iptables-apply | |
parent | e80f7fe56e4c64e05da426418bc2fae7ca221c49 (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