From 68508628c497be54e935f28fe5b28e87d6d17368 Mon Sep 17 00:00:00 2001 From: Duncan Roe Date: Fri, 6 Oct 2017 14:53:24 +0200 Subject: 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 --- doc/nft.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/nft.xml') 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 -- cgit v1.2.3