Re: [iptables PATCH] ebtables: Fix entries count in chain listing

2018-08-16 Thread Pablo Neira Ayuso
On Thu, Aug 16, 2018 at 06:14:36PM +0200, Phil Sutter wrote: > The previous fix for reference counts in iptables-nft output wasn't > complete: While iptables lists the number of references for each custom > chain (i.e., the number of jumps to it), ebtables lists number of > entries (i.e., the

[iptables PATCH] ebtables: Fix entries count in chain listing

2018-08-16 Thread Phil Sutter
The previous fix for reference counts in iptables-nft output wasn't complete: While iptables lists the number of references for each custom chain (i.e., the number of jumps to it), ebtables lists number of entries (i.e., the number of rules contained) for each chain. Both used the same value for