netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH nft] doc: Fix wrong word in description of option "-n --numberic"
@ 2016-09-29 12:39 fgao
  2016-10-04  7:29 ` Pablo Neira Ayuso
  0 siblings, 1 reply; 2+ messages in thread
From: fgao @ 2016-09-29 12:39 UTC (permalink / raw)
  To: pablo, netfilter-devel; +Cc: gfree.wind, Gao Feng

From: Gao Feng <fgao@ikuai8.com>

There is one wrong word in description of option "-n --numberic" in
nft.xml. There are duplicated "used twice", and the former one should
be "used once".

Signed-off-by: Gao Feng <fgao@ikuai8.com>
---
 doc/nft.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/nft.xml b/doc/nft.xml
index 3b215f8..bc09623 100644
--- a/doc/nft.xml
+++ b/doc/nft.xml
@@ -113,7 +113,7 @@ vi:ts=4 sw=4
 					<para>
 						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.
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH nft] doc: Fix wrong word in description of option "-n --numberic"
  2016-09-29 12:39 [PATCH nft] doc: Fix wrong word in description of option "-n --numberic" fgao
@ 2016-10-04  7:29 ` Pablo Neira Ayuso
  0 siblings, 0 replies; 2+ messages in thread
From: Pablo Neira Ayuso @ 2016-10-04  7:29 UTC (permalink / raw)
  To: fgao; +Cc: netfilter-devel, gfree.wind

On Thu, Sep 29, 2016 at 08:39:43PM +0800, fgao@ikuai8.com wrote:
> From: Gao Feng <fgao@ikuai8.com>
> 
> There is one wrong word in description of option "-n --numberic" in
> nft.xml. There are duplicated "used twice", and the former one should
> be "used once".
> 
> Signed-off-by: Gao Feng <fgao@ikuai8.com>
> ---
>  doc/nft.xml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/doc/nft.xml b/doc/nft.xml
> index 3b215f8..bc09623 100644
> --- a/doc/nft.xml
> +++ b/doc/nft.xml
> @@ -113,7 +113,7 @@ vi:ts=4 sw=4
>  					<para>
>  						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,

No, this is done on purpose. The first -n is these days noop.

Originally, this first -n displayed IP addresses as we were displaying
names by default.

See commit 31f031b0d348afd1c343692eca4b496c4bf5d05d
Author: Arturo Borrero <arturo.borrero.glez@gmail.com>
Date:   Thu Nov 6 09:05:28 2014 +0100

    nft: don't resolve hostnames by default


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-10-04  7:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-29 12:39 [PATCH nft] doc: Fix wrong word in description of option "-n --numberic" fgao
2016-10-04  7:29 ` Pablo Neira Ayuso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).