]> git.ipfire.org Git - thirdparty/nftables.git/commit
parser_bison: show all sets via list sets with no family
authorPablo Neira Ayuso <pablo@netfilter.org>
Fri, 25 Sep 2015 10:44:42 +0000 (12:44 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 12 Oct 2015 18:34:22 +0000 (20:34 +0200)
commit34689c201f03102861ff2e23ccd097a02663c5de
tree38a792601f33640420299aa7e34df9bd87eaea89
parent46950a9f7366a686787306b749f95e16432951b6
parser_bison: show all sets via list sets with no family

Default to the same behaviour that we get through `list ruleset', ie.

 # nft list sets
 table ip test1 {
        set foo {
                type ipv4_addr
        }
 }
 table ip6 test2 {
        set bar {
                type ipv6_addr
        }
 }

 # nft list sets ip
 table ip test1 {
        set foo {
                type ipv4_addr
        }
 }

 # nft list sets ip6
 table ip6 test2 {
        set bar {
                type ipv6_addr
        }
 }

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Acked-by: Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com>
src/parser_bison.y