allow base integer type in concatenation
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | src: allow use of base integer types as set keys in concatenationssrc/ | +17 | 0 replies | |
| 2/2 | tests: add concat test case with integer base type subkeytests/ tests/ tests/ +1 more | +30 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH nft 0/2] allow base integer type in concatenation
Now that we have typeof support for set keys there is no longer a technical reason to reject use of datatypes with a zero size provided that the set key concatenation can be used to retrieve a size instead.
This allows to use e.g. "ipsec in reqid" in a concatenated set key.
Florian Westphal (2):
src: allow use of base integer types as set keys in concatenations
tests: add concat test case with integer base type subkey
src/evaluate.c | 24 +++++++++++++------ .../testcases/maps/dumps/typeof_maps_0.nft | 6 +++++ tests/shell/testcases/maps/typeof_maps_0 | 6 +++++ .../testcases/sets/dumps/typeof_sets_0.nft | 9 +++++++ tests/shell/testcases/sets/typeof_sets_0 | 9 +++++++ 5 files changed, 47 insertions(+), 7 deletions(-)
Signature · 1 line
2.35.1