Re: [PATCH] Correct manpage description of -n / --numeric option

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jon Jensen <jon@xxxxxxxxxxxx> wrote:
> "When used twice" was used twice. :) Make it match the description in
> main.c instead.
 
>  						Numeric output: Addresses and other information
>  						that might need network traffic to resolve to symbolic names
> -						are shown numerically (default behaviour). When used twice,
> +						are shown numerically (default behaviour). When used once,
>  						internet services are translated. When used twice, internet
>  						services and UIDs/GIDs are also shown numerically. When used
>  						three times, protocol numbers are also shown numerically.

That paragraph doesn't match what nft is doing:

nft list table filter
ip saddr 127.0.0.1 tcp dport ssh skuid "root"
nft -n list table filter
ip saddr 127.0.0.1 tcp dport ssh skuid "root"
nft -nn list table filter
ip saddr 127.0.0.1 tcp dport 22 skuid "root" // doc says this would be 'skuid 0'
src/nft -nnn list table filter
ip saddr 127.0.0.1 tcp dport 22 skuid 0

So I suggest a rewrite of that section, e.g.

Numeric output: Addresses and other information
that might need network traffic to resolve to symbolic names
are shown numerically (default behaviour).  When used twice, internet
services (port numbers) are shown numerically. When used
three times, protocol numbers and UIDs/GIDs are also shown numerically.

(I don't like the repeated use of 'shown numerically', but I don't have
a better idea at the moment, and also don't care that much about this ..)
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux