]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
doc: reword insert position, this expects rule handle to insert, not a relative postition
authorFlorian Westphal <fw@strlen.de>
Tue, 24 Apr 2018 14:54:52 +0000 (16:54 +0200)
committerFlorian Westphal <fw@strlen.de>
Tue, 24 Apr 2018 14:55:31 +0000 (16:55 +0200)
Signed-off-by: Florian Westphal <fw@strlen.de>
doc/nft.xml

index 661f632efefe027eecafd4bd4c2664fb97548e04..e11ad8d5a41b750ae691d81bed5db245ace7328b 100644 (file)
@@ -875,7 +875,7 @@ add table inet mytable
                                <arg choice="opt"><replaceable>family</replaceable></arg>
                                <replaceable>table</replaceable>
                                <replaceable>chain</replaceable>
-                               <arg choice="opt">position <replaceable>position</replaceable></arg>
+                               <arg choice="opt">position <replaceable>handle</replaceable></arg>
                                <replaceable>statement</replaceable>...
                        </cmdsynopsis>
                        <cmdsynopsis>
@@ -911,7 +911,7 @@ add table inet mytable
                                        <para>
                                                Add a new rule described by the list of statements. The rule is appended to the
                                                given chain unless a position is specified, in which case the rule is appended to
-                                               the rule given by the position.
+                                               the rule given by the handle.
                                        </para>
                                </listitem>
                        </varlistentry>
@@ -920,7 +920,7 @@ add table inet mytable
                                <listitem>
                                        <para>
                                                Similar to the <command>add</command> command, but the rule is prepended to the
-                                               beginning of the chain or before the rule at the given position.
+                                               beginning of the chain or before the rule with the given handle.
                                        </para>
                                </listitem>
                        </varlistentry>