All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] doc: nft.8 Document rule replace
@ 2017-10-09 14:58 Duncan Roe
  2017-10-09 19:12 ` Pablo Neira Ayuso
  0 siblings, 1 reply; 2+ messages in thread
From: Duncan Roe @ 2017-10-09 14:58 UTC (permalink / raw)
  To: netfilter-devel

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(+)

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>
-- 
2.9.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] doc: nft.8 Document rule replace
  2017-10-09 14:58 [PATCH] doc: nft.8 Document rule replace Duncan Roe
@ 2017-10-09 19:12 ` Pablo Neira Ayuso
  0 siblings, 0 replies; 2+ messages in thread
From: Pablo Neira Ayuso @ 2017-10-09 19:12 UTC (permalink / raw)
  To: Duncan Roe; +Cc: netfilter-devel

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-10-09 19:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-09 14:58 [PATCH] doc: nft.8 Document rule replace Duncan Roe
2017-10-09 19:12 ` Pablo Neira Ayuso

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.