Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | evaluate: incorrect byteorder with typeof and integer_datatype | Pablo Neira Ayuso | 2020-04-29 | 1 | -0/+5 |
| | | | | | | | | | | | | | | | | | | | | table bridge t { set s3 { typeof meta ibrpvid elements = { 2, 3, 103 } } } # nft --debug=netlink -f test.nft s3 t 0 s3 t 0 element 00000100 : 0 [end] element 00000200 : 0 [end] element 00000300 : 0 [end] ^^^^^^^^ The integer_type uses BYTEORDER_INVALID byteorder (which is implicitly handled as BYTEORDER_BIG_ENDIAN). Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> | ||||
* | tests: add typeof test cases | Florian Westphal | 2019-12-17 | 1 | -0/+29 |
Add sets using unspecific string/integer types, one with osf name, other with vlan id. Neither type can be used directly, as they lack the type size information. Signed-off-by: Florian Westphal <fw@strlen.de> |