From: Pablo Neira Ayuso <pablo@netfilter.org>
To: netfilter-devel@vger.kernel.org
Subject: Re: [PATCH nft 2/2] parser_bison: no need for 'name' token for meters
Date: Fri, 24 Nov 2017 15:56:39 +0100 [thread overview]
Message-ID: <20171124145639.GA9026@salvia> (raw)
In-Reply-To: <20171124132900.28301-2-pablo@netfilter.org>
On Fri, Nov 24, 2017 at 02:29:00PM +0100, Pablo Neira Ayuso wrote:
> @@ -2518,6 +2515,23 @@ meter_stmt_opt : TABLE identifier
> }
> ;
>
> +meter_stmt_alloc : METER identifier '{' meter_key_expr stmt '}'
> + {
> + $$ = meter_stmt_alloc(&@$);
> + $$->meter.name = $2;
> + $$->meter.key = $4;
> + $$->meter.stmt = $5;
> + $$->location = @$;
> + }
I'm removing from here...
> + | METER '{' meter_key_expr stmt '}'
> + {
> + $$ = meter_stmt_alloc(&@$);
> + $$->meter.key = $3;
> + $$->meter.stmt = $4;
> + $$->location = @$;
> + }
to there.
There's no point in nameless meters as we discussed, sorry, this just
slipped through.
Will be mangling this before pushing it out.
next prev parent reply other threads:[~2017-11-24 14:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-24 13:28 [PATCH nft 1/2] parser_bison: dismiss anonymous meters Pablo Neira Ayuso
2017-11-24 13:29 ` [PATCH nft 2/2] parser_bison: no need for 'name' token for meters Pablo Neira Ayuso
2017-11-24 14:56 ` Pablo Neira Ayuso [this message]
2017-11-24 13:56 ` [PATCH nft 1/2] parser_bison: dismiss anonymous meters Florian Westphal
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=20171124145639.GA9026@salvia \
--to=pablo@netfilter.org \
--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).