Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Florian Westphal <fw@strlen.de>
To: Alberto Spin <a.spin@datawatt.nl>
Cc: "netfilter@vger.kernel.org" <netfilter@vger.kernel.org>
Subject: Re: nft script file, using include with wildcards
Date: Thu, 9 Jan 2020 16:04:16 +0100	[thread overview]
Message-ID: <20200109150416.GD795@breakpoint.cc> (raw)
In-Reply-To: <AM0PR0102MB35540D625A4D1072683C6E1F9B390@AM0PR0102MB3554.eurprd01.prod.exchangelabs.com>

Alberto Spin <a.spin@datawatt.nl> 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.

      reply	other threads:[~2020-01-09 15:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-09 14:47 nft script file, using include with wildcards Alberto Spin
2020-01-09 15:04 ` Florian Westphal [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200109150416.GD795@breakpoint.cc \
    --to=fw@strlen.de \
    --cc=a.spin@datawatt.nl \
    --cc=netfilter@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox