* man page nft.8 add chain synopsis
@ 2017-10-06 5:08 Duncan Roe
2017-10-06 12:52 ` Pablo Neira Ayuso
0 siblings, 1 reply; 2+ messages in thread
From: Duncan Roe @ 2017-10-06 5:08 UTC (permalink / raw)
To: Netfilter Development
Hi,
The man page says this:
> {add | create} chain [family] table chain [ { {type} {hook} [device] {priority} } [policy] ]
But I suggest it should say this:
> {add | create} chain [family] table chain [ { {type} {hook} [device] {priority ;} [policy ;] } ]
i.e. the policy tuple should be inside the braces along with type, hook, device
& priority. Also the device & priority tuples each need to be followed by a
semicolon.
** Is the above change correct?
* Assuming it is correct, the patch below makes the change. Can someone pick it
up from here or should I submit a bug report?
Cheers ... Duncan.
---
diff --git a/doc/nft.xml b/doc/nft.xml
index c0f42dd..80ffcd7 100644
--- a/doc/nft.xml
+++ b/doc/nft.xml
@@ -664,9 +664,9 @@ filter input iif $int_ifs accept
<arg choice="req"><replaceable>type</replaceable></arg>
<arg choice="req"><replaceable>hook</replaceable></arg>
<arg choice="opt"><replaceable>device</replaceable></arg>
- <arg choice="req"><replaceable>priority</replaceable></arg>
+ <arg choice="req"><replaceable>priority</replaceable> ;</arg>
+ <arg choice="opt"><replaceable>policy</replaceable> ;</arg>
</arg>
- <arg choice="opt"><replaceable>policy</replaceable></arg>
</arg>
</cmdsynopsis>
<cmdsynopsis>
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: man page nft.8 add chain synopsis
2017-10-06 5:08 man page nft.8 add chain synopsis Duncan Roe
@ 2017-10-06 12:52 ` Pablo Neira Ayuso
0 siblings, 0 replies; 2+ messages in thread
From: Pablo Neira Ayuso @ 2017-10-06 12:52 UTC (permalink / raw)
To: Netfilter Development
Hi Duncan,
On Fri, Oct 06, 2017 at 04:08:38PM +1100, Duncan Roe wrote:
> Hi,
>
> The man page says this:
>
> > {add | create} chain [family] table chain [ { {type} {hook} [device] {priority} } [policy] ]
>
> But I suggest it should say this:
>
> > {add | create} chain [family] table chain [ { {type} {hook} [device] {priority ;} [policy ;] } ]
>
> i.e. the policy tuple should be inside the braces along with type, hook, device
> & priority. Also the device & priority tuples each need to be followed by a
> semicolon.
>
> ** Is the above change correct?
This looks good to me.
I will include your Signed-off-by tag and will take this into the git
tree.
BTW, please next time submit your patches via git format-patch.
> * Assuming it is correct, the patch below makes the change. Can someone pick it
> up from here or should I submit a bug report?
I'll pick it, no need for bug report.
Thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-10-06 12:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-06 5:08 man page nft.8 add chain synopsis Duncan Roe
2017-10-06 12:52 ` Pablo Neira Ayuso
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).