summaryrefslogtreecommitdiffstats
path: root/iptables/nft-bridge.c
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2018-12-20 16:09:19 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2018-12-27 20:46:17 +0100
commit6b1871914e4f3717c7e6324727b80cf1d5d985b1 (patch)
tree12ba8ab3b1589ce9b207125f6a769791598e8fe1 /iptables/nft-bridge.c
parent11cbd7291f37fbfd5ebe6ffa1730f7d198ed2ac0 (diff)
xtables: Optimize list rules command with given chain
If a chain name was given, make use of nftnl_chain_list_lookup_byname(). Likewise in nftnl_rule_list_chain_save(), but introduce __nftnl_rule_list_chain_save() 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/nft-bridge.c')
0 files changed, 0 insertions, 0 deletions