From 8c226fabc63f21c00ea07b7d484053f797ce994c Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Tue, 9 Mar 2021 11:53:30 +0100 Subject: doc: use symbolic names for chain priorities This replaces the numbers with the matching symbolic names with one exception: The NAT example used "priority 0" for the prerouting priority. This is replaced by "dstnat" which has priority -100 which is the new recommended priority. Also use spaces instead of tabs for consistency in lines which require updates. Signed-off-by: Simon Ruderich Signed-off-by: Pablo Neira Ayuso --- doc/stateful-objects.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/stateful-objects.txt') diff --git a/doc/stateful-objects.txt b/doc/stateful-objects.txt index 32a3a5c8..c7488b28 100644 --- a/doc/stateful-objects.txt +++ b/doc/stateful-objects.txt @@ -34,7 +34,7 @@ table inet myhelpers { type "ftp" protocol tcp } chain prerouting { - type filter hook prerouting priority 0; + type filter hook prerouting priority filter; tcp dport 21 ct helper set "ftp-standard" } } -- cgit v1.2.3