diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-10-29 16:03:32 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-10-30 10:29:44 +0100 |
commit | 505794f75f2a342e8f8115eb0f04965979f2b634 (patch) | |
tree | cba6b69cdb44a5708664be33229b7b5d935325f4 /doc/nft.txt | |
parent | 92abc51d3580dc719fdcbca8d36fdcf5a3751be5 (diff) |
src: get rid of nft_ctx_output_{get,set}_numeric()
This patch adds NFT_CTX_OUTPUT_NUMERIC_SYMBOL, which replaces the last
client of the numeric level approach.
This patch updates `-n' option semantics to display all output
numerically.
Note that monitor code was still using the -n option to skip printing
the process name, this patch updates that path too to print it
inconditionally to simplify things.
Given the numeric levels have no more clients after this patch, remove
that code.
Update several tests/shell not to use -nn.
This patch adds NFT_CTX_OUTPUT_NUMERIC_ALL which enables all flags to
provide a fully numerical output.
Acked-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'doc/nft.txt')
-rw-r--r-- | doc/nft.txt | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/doc/nft.txt b/doc/nft.txt index 99ac0e33..8e18d908 100644 --- a/doc/nft.txt +++ b/doc/nft.txt @@ -34,10 +34,7 @@ For a full summary of options, run *nft --help*. *-n*:: *--numeric*:: - Show data numerically. When used once (the default behaviour), skip - lookup of addresses to symbolic names. Use twice to also show Internet - services (port numbers) numerically. Use three times to also show - protocols, UIDs/GIDs and priorities numerically. + Print fully numerical output. *-s*:: *--stateless*:: |