summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2018-04-24 16:54:52 +0200
committerFlorian Westphal <fw@strlen.de>2018-04-24 16:55:31 +0200
commit45172efadbedee2b2dedc1e771046cca7edb0111 (patch)
tree32af85bbe50fb9e46bd417a713df6604a5cb16f0
parent3261e9cf14a8a80b9f524009502edf1ccd8da5eb (diff)
doc: reword insert position, this expects rule handle to insert, not a relative postition
Signed-off-by: Florian Westphal <fw@strlen.de>
-rw-r--r--doc/nft.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/nft.xml b/doc/nft.xml
index 661f632e..e11ad8d5 100644
--- a/doc/nft.xml
+++ b/doc/nft.xml
@@ -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>