[PATCH] man: add include statement documentation.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Add to man page information about using the wildcard include statements.

Signed-off-by: Ismo Puustinen <ismo.puustinen@xxxxxxxxx>
---
 doc/nft.xml | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/doc/nft.xml b/doc/nft.xml
index 970acb5..9c9192c 100644
--- a/doc/nft.xml
+++ b/doc/nft.xml
@@ -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>
-- 
2.9.4

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux