[PATCH nft 2/2] doc: update manpage to document --literal option

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

 



This patch describe the new --literal option.

Remove documentation on -N to prepare it for deprecation.

Signed-off-by: Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx>
---
 doc/nft.xml | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/doc/nft.xml b/doc/nft.xml
index dc93a8c65784..863a3e9537f1 100644
--- a/doc/nft.xml
+++ b/doc/nft.xml
@@ -114,18 +114,22 @@ vi:ts=4 sw=4
 				</listitem>
 			</varlistentry>
 			<varlistentry>
-				<term><option>-N, --reversedns</option></term>
+				<term><option>-s, --stateless</option></term>
 				<listitem>
 					<para>
-						Translate IP addresses to names. Usually requires network traffic for DNS lookup.
+						Omit stateful information of rules and stateful objects.
 					</para>
 				</listitem>
 			</varlistentry>
 			<varlistentry>
-				<term><option>-s, --stateless</option></term>
+				<term><option>-l, --literal</option></term>
 				<listitem>
 					<para>
-						Omit stateful information of rules and stateful objects.
+						Translate numeric to literal. When used once (the default behaviour),
+						print services (instead of numerical port numbers). Use twice to
+						perform the IP address to name lookup, this usually requires network
+						traffic for DNS lookup that slows down the ruleset listing.
+
 					</para>
 				</listitem>
 			</varlistentry>
-- 
2.11.0

--
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