Reading rules from multiple files

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

 



Currently in nftables , reading rules from files ( '-f/--file
filename' ) works only with a single file.
If a directory contains multiple rule files , it cant be done by :

 $ nft -f /usr/local/etc/nftables/*
<cmdline>:1:1-1: Error: syntax error, unexpected /
/usr/local/etc/nftables/inet-filter /usr/local/etc/nftables/ipv4-filter

instead
$ nft -f /usr/local/etc/nftables/inet-filter -f
/usr/local/etc/nftables/ipv4-mangle

but adding '-f' each time for a file is cumbersome .

Is this behaviour ignored for some reasons ?
--
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