diff mbox

[nft] doc: Fix wrong word in description of option "-n --numberic"

Message ID 1475152783-379-1-git-send-email-fgao@ikuai8.com
State Not Applicable
Delegated to: Pablo Neira
Headers show

Commit Message

高峰 Sept. 29, 2016, 12:39 p.m. UTC
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(-)

Comments

Pablo Neira Ayuso Oct. 4, 2016, 7:29 a.m. UTC | #1
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

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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.