diff mbox series

doc: nft.8 Document rule replace

Message ID 20171009145841.6046-1-duncan_roe@optusnet.com.au
State Accepted
Delegated to: Pablo Neira
Headers show
Series doc: nft.8 Document rule replace | expand

Commit Message

Duncan Roe Oct. 9, 2017, 2:58 p.m. UTC
Insert synopsis and description between those for add|insert and delete

Signed-off-by: Duncan Roe <duncan_roe@optusnet.com.au>
---
 doc/nft.xml | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

Comments

Pablo Neira Ayuso Oct. 9, 2017, 7:12 p.m. UTC | #1
On Tue, Oct 10, 2017 at 01:58:41AM +1100, Duncan Roe wrote:
> Insert synopsis and description between those for add|insert and delete

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox series

Patch

diff --git a/doc/nft.xml b/doc/nft.xml
index 80ffcd7..c7e12c9 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>