From: Duncan Roe Date: Fri, 6 Oct 2017 12:53:24 +0000 (+0200) Subject: doc: nft.8 add chain synopsis X-Git-Tag: v0.8~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=68508628c497be54e935f28fe5b28e87d6d17368;p=thirdparty%2Fnftables.git 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 Signed-off-by: Pablo Neira Ayuso --- 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 type hook device - priority + priority ; + policy ; - policy