diff options
author | Florian Westphal <fw@strlen.de> | 2020-02-22 22:02:49 +0100 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2020-02-26 13:24:21 +0100 |
commit | 92d90e56bd7df6f82ed2c71b781b8e8a189b9413 (patch) | |
tree | 0b1f97d9fe3d9ba2eea34e9539954563cc253fa2 /tests/py/ip6/hbh.t | |
parent | e5c9c8fe0bcc8b9fa8b9fcac0f5da7314b268670 (diff) |
expressions: concat: add typeof support
Previous patches allow to pass concatenations as the mapped-to
data type.
This doesn't work with typeof() because the concat expression has
no support to store the typeof data in the kernel, leading to:
map t2 {
typeof numgen inc mod 2 : ip daddr . tcp dport
being shown as
type 0 : ipv4_addr . inet_service
... which can't be parsed back by nft.
This allows the concat expression to store the sub-expressions
in set of nested attributes.
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'tests/py/ip6/hbh.t')
0 files changed, 0 insertions, 0 deletions