summaryrefslogtreecommitdiffstats
path: root/tests/py/ip
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2021-06-16 19:00:50 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2021-06-18 09:40:20 +0200
commitbd51f04f73bd585f6e3f9ed82a5db7d9640198b8 (patch)
tree04e6a6d2bee131653192f1e6fd88e4b54d33dd93 /tests/py/ip
parent623f595e484783e08e292eb54745995e109487f0 (diff)
evaluate: do not skip mapping elements
Set element keys are of EXPR_SET_ELEM expression type, however, mappings use the EXPR_MAPPING expression to wrap the EXPR_SET_ELEM key (mapping->left) and the corresponding data (mapping->right). This patch adds a wrapper function to fetch the EXPR_SET_ELEM expression from the key in case of mappings and use it. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/py/ip')
0 files changed, 0 insertions, 0 deletions