diff options
author | Phil Sutter <phil@nwl.cc> | 2018-12-20 16:09:18 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-12-27 20:46:14 +0100 |
commit | 11cbd7291f37fbfd5ebe6ffa1730f7d198ed2ac0 (patch) | |
tree | 70077e2ca1f61cd765c85b7be205751224b391ae /libipq | |
parent | 0b950ed4549308ef23ffc7561567df86c90cfed9 (diff) |
xtables: Optimize list command with given chain
Make use of nftnl_chain_list_lookup_byname() even if not listing a
specific rule. Introduce __nft_print_header() to consolidate chain value
extraction for printing with ops->print_header().
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'libipq')
0 files changed, 0 insertions, 0 deletions