netfilter: nft_ct: add byte/packet counter support

If the accounting extension isn't present, we'll return a counter
value of 0.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
This commit is contained in:
Florian Westphal 2016-01-07 21:34:24 +01:00 • committed by Pablo Neira Ayuso
commit 48f66c905a
2 changed files with 40 additions and 0 deletions