diff options
author | Simon Ruderich <simon@ruderich.org> | 2021-03-07 10:51:34 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2021-03-09 02:41:59 +0100 |
commit | 29ca1ad33a8b82e7d51e9581359f17fec44b376e (patch) | |
tree | df480a4a41aa946eeea099abd57dba448d68720a /doc/nft.txt | |
parent | dea5bb083331a8061620d950adf11e1ed60d6efd (diff) |
doc: add * to include example to actually include files
"/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>
Diffstat (limited to 'doc/nft.txt')
-rw-r--r-- | doc/nft.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/nft.txt b/doc/nft.txt index 32261e26..e4f32179 100644 --- a/doc/nft.txt +++ b/doc/nft.txt @@ -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. |