commit | e23e66f9d1a25c75df684850b7cd99053708c4d0 | [log] [tgz] |
---|---|---|
author | Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com> | Wed Aug 07 11:31:36 2013 +0300 |
committer | Pablo Neira Ayuso <pablo@netfilter.org> | Mon Dec 30 23:50:43 2013 +0100 |
tree | e7a785ebcf7bfcbdee2d906236b35fd2c91bc6e6 | |
parent | 7a1026f59c101a67233c65dd5ef9b0ae15945ca5 [diff] |
nft: Generalize nft_rule_list() against current family Now, firewall rule printing is done through nft_family_ops .print_firewall function. This moves generic part for ipv4 and ipv6 into nft-shared.c, and enables reusing nft_rule_list() for other family such as ARP which will be useful for arptables compatibility tool. Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>