diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-10-29 21:43:25 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-10-30 10:29:53 +0100 |
commit | 6bc50bb3ff693d73b71b82f3a3f4eb335db9aef9 (patch) | |
tree | 549b6160080460398a9972e25841e944325f572f /doc/nft.txt | |
parent | 505794f75f2a342e8f8115eb0f04965979f2b634 (diff) |
src: add -p to print layer 4 protocol numerically
We keep printing layer 4 protocols as literals since we do not use
/etc/protocols. Add -p option to print layer 4 protocols numerically.
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 | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/nft.txt b/doc/nft.txt index 8e18d908..cff04a6a 100644 --- a/doc/nft.txt +++ b/doc/nft.txt @@ -9,7 +9,7 @@ nft - Administration tool of the nftables framework for packet filtering and cla SYNOPSIS -------- [verse] -*nft* [ *-nNscaeS* ] [ *-I* 'directory' ] [ *-f* 'filename' | *-i* | 'cmd' ...] +*nft* [ *-nNscaeSupy* ] [ *-I* 'directory' ] [ *-f* 'filename' | *-i* | 'cmd' ...] *nft* *-h* *nft* *-v* @@ -53,6 +53,10 @@ For a full summary of options, run *nft --help*. *--guid**:: Translate numeric UID/GID to names as defined by /etc/passwd and /etc/group. +*-p*:: +*--numeric-protocol**:: + Display layer 4 protocol numerically. + *-y*:: *--numeric-priority**:: Display base chain priority numerically. |