diff options
author | Florian Westphal <fw@strlen.de> | 2021-02-03 17:57:06 +0100 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2021-02-16 15:11:21 +0100 |
commit | 84b1d078e86dea25c93e15c3e5a3160bbf77e4e7 (patch) | |
tree | 1e05aa3b4401c394d20005a506647f85e30ef371 /include/meta.h | |
parent | a9350dc93850b1e616d65acf30651377dcd1d87d (diff) |
evaluate: pick data element byte order, not dtype one
Some expressions have integer base type, not a specific one, e.g. 'ct zone'.
In that case nft used the wrong byte order.
Without this, nft adds
elements = { "eth0" : 256, "eth1" : 512, "veth4" : 256 }
instead of 1, 2, 3.
This is not a 'display bug', the added elements have wrong byte order.
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'include/meta.h')
0 files changed, 0 insertions, 0 deletions