* [PATCH] parser: allow classid as set key
@ 2017-11-04 13:58 Tomas Mudrunka
0 siblings, 0 replies; only message in thread
From: Tomas Mudrunka @ 2017-11-04 13:58 UTC (permalink / raw)
To: netfilter-devel
[-- 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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2017-11-04 14:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-04 13:58 [PATCH] parser: allow classid as set key Tomas Mudrunka
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).