summaryrefslogtreecommitdiffstats
path: root/iptables/iptables-restore.8.in
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2018-08-03 15:33:02 +0200
committerFlorian Westphal <fw@strlen.de>2018-08-04 23:29:35 +0200
commita0698de9866d2e0ede5eee961a9da38e0ede7062 (patch)
tree778633a8c90ba7876e8dacb12c762bcfef6c688f /iptables/iptables-restore.8.in
parentd11b6b8c3cc459eeec6438e2ad35e8ab46b3527f (diff)
xtables: Do not count rules as chain references
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>
Diffstat (limited to 'iptables/iptables-restore.8.in')
0 files changed, 0 insertions, 0 deletions