]> git.ipfire.org Git - thirdparty/nftables.git/commit
tests: extend dtype test case to cover expression with integer type
authorFlorian Westphal <fw@strlen.de>
Wed, 3 Feb 2021 16:57:05 +0000 (17:57 +0100)
committerFlorian Westphal <fw@strlen.de>
Tue, 16 Feb 2021 14:10:39 +0000 (15:10 +0100)
commita9350dc93850b1e616d65acf30651377dcd1d87d
treec8a35d584ba92f313416fafac862c4190068328b
parent1d88016efc8b1426bd30fa6cfc3c519f88d32ebc
tests: extend dtype test case to cover expression with integer type

... nft doesn't handle this correctly at the moment: they are added
as network byte order (invalid byte order).

ct zone has integer_type, the byte order has to be taken from the expression.

Signed-off-by: Florian Westphal <fw@strlen.de>
tests/shell/testcases/sets/0029named_ifname_dtype_0
tests/shell/testcases/sets/dumps/0029named_ifname_dtype_0.nft