From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com>
Cc: Netfilter Development Mailing list
<netfilter-devel@vger.kernel.org>,
Florian Westphal <fw@strlen.de>
Subject: Re: parser regression: '/' symbol
Date: Tue, 12 Jan 2016 13:52:11 +0100 [thread overview]
Message-ID: <20160112125211.GA19306@salvia> (raw)
In-Reply-To: <CAOkSjBjytRTvdri+g-EGutvrFWsNuRAK5qgffWDVpm-3-X34mA@mail.gmail.com>
On Tue, Jan 12, 2016 at 12:09:49PM +0100, Arturo Borrero Gonzalez wrote:
> Hi,
>
> I've detected a regression using defines in a file:
>
> define network = 1.1.1.1/24
>
> and then loading it with `nft -f'.
>
> The error is:
> 'Error: syntax error, unexpected /, expecting newline or semicolon'
>
> Florian suspects of commit 2a5d44d8b3c88018165d736c9582cebbf40e6362
> (parser: get rid of multiton_expr from lhs relational expression).
Just sent you a patch, let me know if it resolves the problem.
A test to catch this would be great :)
prev parent reply other threads:[~2016-01-12 12:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-12 11:09 parser regression: '/' symbol Arturo Borrero Gonzalez
2016-01-12 12:52 ` Pablo Neira Ayuso [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=20160112125211.GA19306@salvia \
--to=pablo@netfilter.org \
--cc=arturo.borrero.glez@gmail.com \
--cc=fw@strlen.de \
--cc=netfilter-devel@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;
as well as URLs for NNTP newsgroup(s).