summaryrefslogtreecommitdiffstats
path: root/tests/monitor
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2025-07-09 00:32:13 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2025-07-10 00:13:04 +0200
commit01fdd7c7f445337c460738aa872cbdaabb5316ea (patch)
tree947ca13cedc90e3bf0346987a37f3d94d40df854 /tests/monitor
parent2022e8bb5cf0e0fa81ab0a5087bd1ab6e20280ee (diff)
src: convert set to list expression
The following definition: define xyz = { "dummy0", "dummy1" } is represented as a set expression to ease integration with sets. However, this definition can be used in chains and flowtables to specify the devices, for instance: table netdev x { chain y { type filter hook ingress devices = $xyz priority 0; policy drop; } } in this context, $xyz defines a _list_ of devices, not a set. Transform the set to list expression from the evaluation step for chains and flowtables. This patch also handles: define xyz = { "dummy0", $abc } where $abc is also transformed to a list expression in the context of chains and flowtables. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/monitor')
0 files changed, 0 insertions, 0 deletions