From mboxrd@z Thu Jan 1 00:00:00 1970 From: Florian Westphal Subject: Re: nft script file, using include with wildcards Date: Thu, 9 Jan 2020 16:04:16 +0100 Message-ID: <20200109150416.GD795@breakpoint.cc> References: Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: Sender: netfilter-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Alberto Spin Cc: "netfilter@vger.kernel.org" Alberto Spin wrote: > I'm using nftables 0.7 (rocko branch) > > I've got a nft script file that contains the following line: > > # include all rule files (alphabetical order) > include "*.rules" > > When I execute this script I get the following error: > > ./firewall.nft:25:1-18: Error: Could not open file "*.rules": No such file or directory > include "*.rules" > ^^^^^^^^^^^^^^^^^^ Wildcard support was added in 0.8.