man page nft.8 add chain synopsis
Hi,
The man page says this:
Quoted 1 line
{add | create} chain [family] table chain [ { {type} {hook} [device] {priority} } [policy] ]
But I suggest it should say this:
Quoted 1 line
{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.
---
doc/nft.xml +0 -0
@@ -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>
Pablo Neira Ayuso
maintainerHi Duncan,
Quoted 8 lines · Duncan Roe
Hi,
The man page says this:
Quoted 1 line
{add | create} chain [family] table chain [ { {type} {hook} [device] {priority} } [policy] ]
But I suggest it should say this:
Quoted 7 lines
Quoted 1 line
{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.
Quoted 2 lines
* 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!