summaryrefslogtreecommitdiffstats
path: root/nfacct.8
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2016-02-22 10:12:36 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2016-02-29 12:44:34 +0100
commit94c7e32bedfd4751d8f9a346cced9a71e5783513 (patch)
treef085e7c8cd2a0acb58baf062804ed77c4a30e151 /nfacct.8
parent86d5283161d3b2908229868318d3d2135c46379b (diff)
Add JSON output formatting to nfacct utility
This is based on the JSON support patch of libnetfilter_acct. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'nfacct.8')
-rw-r--r--nfacct.82
1 files changed, 2 insertions, 0 deletions
diff --git a/nfacct.8 b/nfacct.8
index 0c3249c..bf563ae 100644
--- a/nfacct.8
+++ b/nfacct.8
@@ -47,6 +47,8 @@ That atomically obtains and resets the counters.
.TP
.BI "xml "
That displays the output in XML format.
+.BI "json "
+That displays the output in JSON format.
.PP
.SH SEE ALSO
.BR iptables (8)