diff options
author | Florian Westphal <fw@strlen.de> | 2021-08-20 11:52:35 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2021-08-20 13:00:40 +0200 |
commit | 31b7210b5f66acb32c1c2a25cc096ab395be0760 (patch) | |
tree | 83979c22083f8320e03f7eb31b1cd482d8df35b2 /tests/shell/testcases/sets/dumps/0059set_update_multistmt_0.nft | |
parent | 8062079da0102ea2859f1e5732da5ef9c0b9ee0c (diff) |
parser: permit symbolic define for 'queue num' again
WHen I simplified the parser to restrict 'queue num' I forgot that
instead of range and immediate value its also allowed to pass in
a variable expression, e.g.
define myq = 0
add rule ... 'queue num $myq bypass'
Allow those as well and add a test case for this.
Fixes: 767f0af82a389 ("parser: restrict queue num expressiveness")
Reported-by: Amish <anon.amish@gmail.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'tests/shell/testcases/sets/dumps/0059set_update_multistmt_0.nft')
0 files changed, 0 insertions, 0 deletions