]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
doc: add * to include example to actually include files
authorSimon Ruderich <simon@ruderich.org>
Sun, 7 Mar 2021 09:51:34 +0000 (10:51 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 9 Mar 2021 01:41:59 +0000 (02:41 +0100)
"/etc/firewall/rules/" causes no error but also doesn't include any
files contained in the directory.

Signed-off-by: Simon Ruderich <simon@ruderich.org>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
doc/nft.txt

index 32261e266aa63d5355e7c1aea66297130e1fe57e..e4f321795bc6dad08c8d46be1d56c7fe1c449131 100644 (file)
@@ -153,7 +153,7 @@ directory via the *-h*/*--help* option. +
 Include statements support the usual shell wildcard symbols (*,?,[]). Having no
 matches for an include statement is not an error, if wildcard symbols are used
 in the include statement. This allows having potentially empty include
-directories for statements like **include "/etc/firewall/rules/"**. The wildcard
+directories for statements like **include "/etc/firewall/rules/*"**. The wildcard
 matches are loaded in alphabetical order. Files beginning with dot (.) are not
 matched by include statements.