]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
doc: nft.8 Document rule replace
authorDuncan Roe <duncan_roe@optusnet.com.au>
Mon, 9 Oct 2017 14:58:41 +0000 (01:58 +1100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 9 Oct 2017 19:11:17 +0000 (21:11 +0200)
Insert synopsis and description between those for add|insert and delete

Signed-off-by: Duncan Roe <duncan_roe@optusnet.com.au>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
doc/nft.xml

index 80ffcd772ee4c45b6eaec1696e632236c103678b..c7e12c9c8a7d4e9acbb697ef195180f569dec5cb 100644 (file)
@@ -838,6 +838,15 @@ filter input iif $int_ifs accept
                                <arg choice="opt">position <replaceable>position</replaceable></arg>
                                <arg choice="req" rep="repeat"><replaceable>statement</replaceable></arg>
                        </cmdsynopsis>
+                       <cmdsynopsis>
+                               <arg choice="req">replace</arg>
+                               <command>rule</command>
+                               <arg choice="opt"><replaceable>family</replaceable></arg>
+                               <arg choice="req"><replaceable>table</replaceable></arg>
+                               <arg choice="req"><replaceable>chain</replaceable></arg>
+                               <arg choice="req">handle <replaceable>handle</replaceable></arg>
+                               <arg choice="req" rep="repeat"><replaceable>statement</replaceable></arg>
+                       </cmdsynopsis>
                        <cmdsynopsis>
                                <arg choice="req">delete</arg>
                                <command>rule</command>
@@ -872,6 +881,14 @@ filter input iif $int_ifs accept
                                        </para>
                                </listitem>
                        </varlistentry>
+                       <varlistentry>
+                               <term><option>replace</option></term>
+                               <listitem>
+                                       <para>
+                                               Similar to the <command>add</command> command, but the rule replaces the specified rule.
+                                       </para>
+                               </listitem>
+                       </varlistentry>
                        <varlistentry>
                                <term><option>delete</option></term>
                                <listitem>