summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDuncan Roe <duncan_roe@optusnet.com.au>2017-10-10 01:58:41 +1100
committerPablo Neira Ayuso <pablo@netfilter.org>2017-10-09 21:11:17 +0200
commit55fe70d4afb378ba3ed3dc225b823a5d448e37c0 (patch)
tree8db04385aadd7918f5902d88f8b5595a9e6b2ec5
parent1a7429bc152ed3a5368c4024f6b8e489c02ae322 (diff)
doc: nft.8 Document rule replace
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>
-rw-r--r--doc/nft.xml17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/nft.xml b/doc/nft.xml
index 80ffcd77..c7e12c9c 100644
--- a/doc/nft.xml
+++ b/doc/nft.xml
@@ -839,6 +839,15 @@ filter input iif $int_ifs accept
<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>
<arg choice="opt"><replaceable>family</replaceable></arg>
@@ -873,6 +882,14 @@ filter input iif $int_ifs accept
</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>
<para>