man page nft.8 add chain synopsis

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux