]> git.ipfire.org Git - thirdparty/nftables.git/commit
tests: py: fix up udp csum fixup output
authorFlorian Westphal <fw@strlen.de>
Wed, 11 Sep 2024 12:23:01 +0000 (14:23 +0200)
committerFlorian Westphal <fw@strlen.de>
Wed, 11 Sep 2024 12:24:09 +0000 (14:24 +0200)
commit036a1eb3304995e4e000c552b9dfd33b1073ddb6
tree2e19cb638956b55176c0861ae6e0e651f766db2f
parentf89abfb4068d31f7279cae298abf25e0c077d2d3
tests: py: fix up udp csum fixup output

Preceeding commit switched udp to use the inkernel csum parser, so tests
warn:

WARNING: line 7: 'add rule ip test-ip4 input iif "lo" udp checksum set 0':
'[ payload write reg 1 => 2b @ transport header + 6 csum_type 1 csum_off 6 csum_flags 0x0 ]' mismatches
'[ payload write reg 1 => 2b @ transport header + 6 csum_type 0 csum_off 0 csum_flags 0x1 ]'

Fixes: f89abfb4068d ("proto: use NFT_PAYLOAD_L4CSUM_PSEUDOHDR flag to mangle UDP checksum")
Signed-off-by: Florian Westphal <fw@strlen.de>
tests/py/inet/udp.t.payload