]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
tests: py: fix inet/ip.t bridge payload
authorJeremy Sowden <jeremy@azazel.net>
Sat, 15 Jan 2022 18:27:05 +0000 (18:27 +0000)
committerFlorian Westphal <fw@strlen.de>
Sat, 15 Jan 2022 19:17:39 +0000 (20:17 +0100)
Correct the statement used to load the protocol in the bridge payload
of one of the ip tests.

A previous commit was supposed, in part, to do this, but the update got
lost.

Fixes: 4b8e51ea5fc8 ("tests: py: fix inet/ip.t payloads")
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Signed-off-by: Florian Westphal <fw@strlen.de>
tests/py/inet/ip.t.payload.bridge

index a422ed76c2de77c8f5c12b01ab4ca7ba2dab5154..57dbc9eb42e77e836d3b24019a3663cd85881f1b 100644 (file)
@@ -3,7 +3,7 @@ __set%d test-bridge 3
 __set%d test-bridge 0
        element 01010101 02020202 fecafeca 0000feca  : 0 [end]
 bridge test-bridge input
-  [ payload load 2b @ link header + 12 => reg 1 ]
+  [ meta load protocol => reg 1 ]
   [ cmp eq reg 1 0x00000008 ]
   [ payload load 4b @ network header + 12 => reg 1 ]
   [ payload load 4b @ network header + 16 => reg 9 ]