]> git.ipfire.org Git - thirdparty/nftables.git/commit
netlink: dump all chains when listing rules
authorPatrick McHardy <kaber@trash.net>
Tue, 28 Jul 2009 12:17:41 +0000 (14:17 +0200)
committerPatrick McHardy <kaber@trash.net>
Tue, 28 Jul 2009 12:17:41 +0000 (14:17 +0200)
commitaeb84096c8cc413f81829f07ec285c3668d795ec
tree991a5d4410b39385dba3ed294ea95b7db606f5de
parent08b4600fc361cbab55ae2f89875df7fddf7b657e
netlink: dump all chains when listing rules

Currently only the rules are dumped and chains are constructed based
on the rules identities. Dump all chains manually to make sure we also
display empty chains.

Signed-off-by: Patrick McHardy <kaber@trash.net>
src/rule.c