parser: allow classid as set key
PATCH 1/1 parser: allow classid as set key
Hello,
can you please include this patch in nftables?
THX.
Signature · 3 lines
S pozdravem
Best regards
Tomáš Mudruňka - SPOJE.NET s.r.o.parser: allow classid as set key
From: Arturo Borrero Gonzalez <[email protected]>
Allow TC classid as set key.
Signed-off-by Arturo Borrero Gonzalez <[email protected]>
Reported-by Tomas Mudrunka <[email protected]>
Tested-by Tomas Mudrunka <[email protected]>
--- src/parser_bison.y | 1 + 1 file changed, 1 insertion(+)
src/parser_bison.y +1 -0
@@ -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