path: root/tests
diff options
authorIsmo Puustinen <>2017-06-06 14:50:09 +0300
committerPablo Neira Ayuso <>2017-06-06 17:54:59 +0200
commit9aa3d6d29efe5291ff91df6976d3bda38da848d5 (patch)
treef6e42b63f3f89fbdecbc27bd30ff002576da3349 /tests
parent4cb962e4e447dd9ebd13177fca040dd1ff9b8632 (diff)
scanner: add support for include directories
If a string after "include" keyword points to a directory instead of a file, consider the directory to contain only nft rule files and try to load them all. This helps with a use case where services drop their own firewall configuration files into a directory and nft needs to include those without knowing the exact file names. File loading order from the include directory is not specified, so the files inside an include directory should not depend on each other. Fixes(Bug 1154 - Allow include statement to operate on directories and/or wildcards). Signed-off-by: Ismo Puustinen <> Signed-off-by: Pablo Neira Ayuso <>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions