doc: fix swapped include positions in nftables.d README
authorJo-Philipp Wich <jo@mein.io>
Thu, 1 Sep 2022 09:31:38 +0000 (11:31 +0200)
committerJo-Philipp Wich <jo@mein.io>
Thu, 1 Sep 2022 09:32:27 +0000 (11:32 +0200)
The README swapped the meaning of the `ruleset-pre`/`ruleset-post`
and `table-pre`/`table-post` include directories.

Ref: https://forum.openwrt.org/t/x/135594/174
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
root/usr/share/nftables.d/README

index e4aa9f8e94558676d6791ad13e771b56e4f06ecd..4b7eef491836362e27fbb679ae31a46b51992242 100644 (file)
@@ -7,11 +7,11 @@ permissions) with an `*.nft` file extension are considered.
 The include position of each file within the overall ruleset is derived
 from the file path:
 
 The include position of each file within the overall ruleset is derived
 from the file path:
 
- - Files in ./table-pre/ and ./table-post/ are included before and after
-   the `table inet fw4 { ... }` declaration respectively
+ - Files in ./ruleset-pre/ and ./ruleset-post/ are included before and
+   after the `table inet fw4 { ... }` declaration respectively
 
 
- - Files in ./ruleset-pre/ and ./ruleset-post/ are included before the
-   first chain and after the last chain declaration within the fw4 table
+ - Files in ./table-pre/ and ./table-post/ are included before the first
+   chain and after the last chain declaration within the fw4 table
    respectively
 
  - Files in ./chain-pre/${chain}/ and ./chain-post/${chain}/ are included
    respectively
 
  - Files in ./chain-pre/${chain}/ and ./chain-post/${chain}/ are included
@@ -19,4 +19,5 @@ from the file path:
    the fw4 table respectively
 
 Automatic inclusion of these files can be disabled by setting the global
    the fw4 table respectively
 
 Automatic inclusion of these files can be disabled by setting the global
-`auto_includes` option within the defaults section of /etc/config/firewall.
+`auto_includes` option to `0` within the defaults section of
+/etc/config/firewall.