netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tomas Mudrunka <mudrunka@spoje.net>
To: netfilter-devel@vger.kernel.org
Subject: [PATCH] parser: allow classid as set key
Date: Sat, 04 Nov 2017 14:58:31 +0100	[thread overview]
Message-ID: <82fb1bfd1c56c2410a59c3c207393fa5@spoje.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 132 bytes --]

Hello,
can you please include this patch in nftables?

THX.

-- 
S pozdravem
Best regards
      Tomáš Mudruňka - SPOJE.NET s.r.o.

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: classid-map.patch --]
[-- Type: text/x-diff; name=classid-map.patch, Size: 766 bytes --]

parser: allow classid as set key

From: Arturo Borrero Gonzalez <arturo@netfilter.org>

Allow TC classid as set key.

Signed-off-by: Arturo Borrero Gonzalez <arturo@netfilter.org>
Reported-by: Tomas Mudrunka <mudrunka@spoje.net>
Tested-by: Tomas Mudrunka <mudrunka@spoje.net>
---
 src/parser_bison.y |    1 +
 1 file changed, 1 insertion(+)

diff --git a/src/parser_bison.y b/src/parser_bison.y
index 7016f5b..2918875 100644
--- a/src/parser_bison.y
+++ b/src/parser_bison.y
@@ -1545,6 +1545,7 @@ type_identifier		:	STRING	{ $$ = $1; }
 			|	MARK	{ $$ = xstrdup("mark"); }
 			|	DSCP	{ $$ = xstrdup("dscp"); }
 			|	ECN	{ $$ = xstrdup("ecn"); }
+			|	CLASSID { $$ = xstrdup("classid"); }
 			;
 
 hook_spec		:	TYPE		STRING		HOOK		STRING		dev_spec	PRIORITY	prio_spec

                 reply	other threads:[~2017-11-04 14:05 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=82fb1bfd1c56c2410a59c3c207393fa5@spoje.net \
    --to=mudrunka@spoje.net \
    --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).