]> git.ipfire.org Git - thirdparty/nftables.git/commit
rule: fix nft list chain
authorPablo Neira Ayuso <pablo@netfilter.org>
Thu, 18 Apr 2013 14:28:41 +0000 (16:28 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 18 Apr 2013 14:38:09 +0000 (16:38 +0200)
commit05ce01fdaf7f657725ce1e5e886813d036b05f25
tree97e965fc9dd6a6b4d7bc301a335ec5e9e45645b9
parentda24c01b6d94820aee7222aa3c75854ef47bf355
rule: fix nft list chain

Use netlink_list_chains instead of netlink_list_chain (note the final `s')

After "nft list table filter" shows:

table filter {
        chain input {
        }
}

"nft list chain filter input" shows:

table filter {
}
src/rule.c