summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/maps/vmap_mark_bitwise_0
Commit message (Collapse)AuthorAgeFilesLines
* evaluate: perform mark datatype compatibility check from mapsPablo Neira Ayuso2023-09-191-0/+38
Wrap datatype compatibility check into a helper function and use it for map evaluation, otherwise the following bogus error message is displayed: Error: datatype mismatch, map expects packet mark, mapping expression has type integer Add unit tests to improve coverage for this usecase. Fixes: 5d8e33ddb112 ("evaluate: relax type-checking for integer arguments in mark statements") Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>