summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDuncan Roe <duncan_roe@optusnet.com.au>2017-10-06 14:53:24 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2017-10-06 14:56:26 +0200
commit68508628c497be54e935f28fe5b28e87d6d17368 (patch)
tree5098dd7738dc30f69d999892f1d43de943910473
parent05b43a8d695b3d8190a600ad6db62970617e0563 (diff)
doc: nft.8 add chain synopsis
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. Signed-off-by: Duncan Roe <duncan_roe@optusnet.com.au> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
-rw-r--r--doc/nft.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/nft.xml b/doc/nft.xml
index c0f42ddc..80ffcd77 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>