[Bug 1661] Feature Request: Include files with path relative to current file
bugzilla-daemon at netfilter.org
bugzilla-daemon at netfilter.org
Wed Sep 13 17:00:25 CEST 2023
https://bugzilla.netfilter.org/show_bug.cgi?id=1661
--- Comment #4 from Pablo Neira Ayuso <pablo at netfilter.org> ---
You could use -I/--include and relative paths:
# nft -I /myruleset -f /myruleset/test.nft
then, from your ruleset, use relative path from your .nft files:
# cat /myruleset/test.nft
include "dir1/test1.nft"
where:
# ls /myruleset/dir1
test1.nft
--
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.netfilter.org/pipermail/netfilter-buglog/attachments/20230913/213b3120/attachment.html>
More information about the netfilter-buglog
mailing list