summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/sets/dumps/0045concat_ipv4_service.nft
Commit message (Collapse)AuthorAgeFilesLines
* netlink: dynset: set compound expr dtype based on set key definitionFlorian Westphal2021-09-291-0/+12
"nft add rule ... add @t { ip saddr . 22 ..." will be listed as 'ip saddr . 0x16 [ invalid type]". This is a display bug, the compound expression created during netlink deserialization lacks correct datatypes for the value expression. Avoid this by setting the individual expressions' datatype. The set key has the needed information, so walk over the types and set them in the dynset statment. Also add a test case. Reported-by: Paulo Ricardo Bruck <paulobruck1@gmail.com> Signed-off-by: Florian Westphal <fw@strlen.de>