summaryrefslogtreecommitdiffstats
path: root/src/datatype.c
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2023-09-05 16:32:16 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2023-11-03 12:22:55 +0100
commitacf79fe3e89951c30a411ff53a4fd86c750f0c01 (patch)
tree9375741858a29792c87676ee5fbfaa1e6eee44b0 /src/datatype.c
parent9c352a9ef09a9b82e8549dfc6977b55a29ece0c7 (diff)
evaluate: fix get element for concatenated set
commit 988e83a1ce61a829473082221a790e72f8d43519 upstream. given: table ip filter { set test { type ipv4_addr . ether_addr . mark flags interval elements = { 198.51.100.0/25 . 00:0b:0c:ca:cc:10-c1:a0:c1:cc:10:00 . 0x0000006f, } } } We get lookup failure: nft get element ip filter test { 198.51.100.1 . 00:0b:0c:ca:cc:10 . 0x6f } Error: Could not process rule: No such file or directory Its possible to work around this via dummy range somewhere in the key, e.g. nft get element ip filter test { 198.51.100.1 . 00:0b:0c:ca:cc:10 . 0x6f-0x6f } but that shouldn't be needed, so make sure the INTERVAL flag is enabled for the queried element if the set is of interval type. Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'src/datatype.c')
0 files changed, 0 insertions, 0 deletions