]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
man: add include statement documentation.
authorIsmo Puustinen <ismo.puustinen@intel.com>
Wed, 28 Jun 2017 08:16:57 +0000 (11:16 +0300)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 28 Jun 2017 15:35:50 +0000 (17:35 +0200)
Add to man page information about using the wildcard include statements.

Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
doc/nft.xml

index 970acb541e00412eef18247ebe3774c63416854d..9c9192cf7a8bf25d93275c73eac459d53290e697 100644 (file)
@@ -229,8 +229,13 @@ vi:ts=4 sw=4
                                -h/--help option.
                        </para>
                        <para>
-                               If the <literal>filename</literal> parameter is a directory, then all files in
-                               the directory are loaded in alphabetical order.
+                               Include statements support the usual shell wildcard symbols
+                               (<literal>*,?,[]</literal>). 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
+                               <literal>include "/etc/firewall/rules/*"</literal>. The wildcard matches are
+                               loaded in alphabetical order. Files beginning with dot (<literal>.</literal>) are
+                               not matched by include statements.
                        </para>
                </refsect2>
                <refsect2>