Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | xtables: Do not count rules as chain references | Phil Sutter | 2018-08-04 | 1 | -0/+14 |
Unlike iptables, nftables counts rules in a chain as references to that chain. Align output of 'iptables-nft -L' with that of legacy iptables by counting the number of rules in a chain and subtracting that value from reference count before printing the chain header. Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Florian Westphal <fw@strlen.de> |