From 695e8211d1d02a2274f4bbf51c9017d4b29b653e Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 1 Sep 2022 11:31:38 +0200 Subject: [PATCH] doc: fix swapped include positions in nftables.d README 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 --- root/usr/share/nftables.d/README | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/root/usr/share/nftables.d/README b/root/usr/share/nftables.d/README index e4aa9f8..4b7eef4 100644 --- a/root/usr/share/nftables.d/README +++ b/root/usr/share/nftables.d/README @@ -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: - - 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 @@ -19,4 +19,5 @@ from the file path: 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. -- 2.30.2