* parser regression: '/' symbol
@ 2016-01-12 11:09 Arturo Borrero Gonzalez
2016-01-12 12:52 ` Pablo Neira Ayuso
0 siblings, 1 reply; 2+ messages in thread
From: Arturo Borrero Gonzalez @ 2016-01-12 11:09 UTC (permalink / raw)
To: Netfilter Development Mailing list; +Cc: Pablo Neira Ayuso, Florian Westphal
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).
regards.
--
Arturo Borrero González
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: parser regression: '/' symbol
2016-01-12 11:09 parser regression: '/' symbol Arturo Borrero Gonzalez
@ 2016-01-12 12:52 ` Pablo Neira Ayuso
0 siblings, 0 replies; 2+ messages in thread
From: Pablo Neira Ayuso @ 2016-01-12 12:52 UTC (permalink / raw)
To: Arturo Borrero Gonzalez
Cc: Netfilter Development Mailing list, Florian Westphal
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 :)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-01-12 12:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-12 11:09 parser regression: '/' symbol Arturo Borrero Gonzalez
2016-01-12 12:52 ` Pablo Neira Ayuso
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).