summaryrefslogtreecommitdiffstats
path: root/doc/stateful-objects.txt
diff options
context:
space:
mode:
authorSimon Ruderich <simon@ruderich.org>2021-03-09 11:53:30 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2021-03-24 14:19:31 +0100
commit8c226fabc63f21c00ea07b7d484053f797ce994c (patch)
treef62fe1e3daf55992c511781c8270437af457b941 /doc/stateful-objects.txt
parentb140b592cb74ce4f15ccc3850882bd7d93749109 (diff)
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 <simon@ruderich.org> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'doc/stateful-objects.txt')
-rw-r--r--doc/stateful-objects.txt2
1 files changed, 1 insertions, 1 deletions
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"
}
}