Skip to contentSkip to conversation

doc: nft.8 Document rule replace

PATCH Applied Duncan Roe 2 participants 2 messages Oct 9, 2017 netfilter

lore
Share & tools
lore

Duncan Roe

author
#0 lore raw

PATCH 1/1 doc: nft.8 Document rule replace

Insert synopsis and description between those for add|insert and delete

---
 doc/nft.xml | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
doc/nft.xml +17 -0
index 80ffcd7..c7e12c9 100644
@@ -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>
Signature · 1 line
2.9.0
maintainer Applied
#1 lore raw
Quoted 1 line · Duncan Roe

Insert synopsis and description between those for add|insert and delete

Applied, thanks.