]> git.ipfire.org Git - thirdparty/nftables.git/commit
monitor: Accept -j flag
authorPhil Sutter <phil@nwl.cc>
Wed, 12 Jun 2019 17:27:37 +0000 (19:27 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 13 Jun 2019 10:39:53 +0000 (12:39 +0200)
commitcc1ea7ef36868c0708741392c99fcd2f2c395131
tree51f502d51923de535f82233a79361120e409c852
parent8358ee1bf3236f0d2b1ccfdcf7d31cd7063815a5
monitor: Accept -j flag

Make 'nft -j monitor' equal to 'nft monitor json' and change
documentation to use only the first variant since that is more intuitive
and also consistent with other commands.

While being at it, drop references to XML from monitor section - it was
never supported.

Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
doc/nft.txt
src/rule.c