]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
doc: update manpage to document --literal option
authorPablo Neira Ayuso <pablo@netfilter.org>
Tue, 3 Jul 2018 15:37:03 +0000 (17:37 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sat, 7 Jul 2018 18:53:11 +0000 (20:53 +0200)
This patch describe the new --literal option.

Remove documentation on -N to prepare it for deprecation.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
doc/nft.xml

index ef1b2c4ea16142cb3991dafee762b09cf66a6184..7e4773145ac6a5658c079f69c5fb77559cb5986f 100644 (file)
@@ -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>