From 81d78c6e73d49dabae9414a9fda4efcb5fa7e224 Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Wed, 22 Mar 2017 16:38:30 +0100 Subject: tests: fix up meta l4proto change for ip6 family After previous commit nft generates meta l4proto for ipv6 dependencies instead of checking the (first) nexthdr value. This fixes up all tests cases accordingly except one which fails with ip6/reject.t: ... 12: 'ip6 nexthdr 6 reject with tcp reset' mismatches 'meta l4proto 6 reject with tcp reset' This will be fixed by removing the implicit dependency in a followup patch. Signed-off-by: Florian Westphal --- tests/py/inet/icmpX.t.payload | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/py/inet/icmpX.t.payload') diff --git a/tests/py/inet/icmpX.t.payload b/tests/py/inet/icmpX.t.payload index 81ca7744..2ff5b0ec 100644 --- a/tests/py/inet/icmpX.t.payload +++ b/tests/py/inet/icmpX.t.payload @@ -29,7 +29,7 @@ inet test-inet input inet test-inet input [ meta load nfproto => reg 1 ] [ cmp eq reg 1 0x0000000a ] - [ payload load 1b @ network header + 6 => reg 1 ] + [ meta load l4proto => reg 1 ] [ cmp eq reg 1 0x0000003a ] [ payload load 1b @ transport header + 0 => reg 1 ] [ cmp eq reg 1 0x00000080 ] -- cgit v1.2.3