From 3eb14fd93093c5e084d3ac1c4b0171cf80fb264f Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Mon, 1 Feb 2021 22:44:25 +0100 Subject: tests: add icmp/6 test where dependency should be left alone These tests fail: nft should leave the type as-is. Signed-off-by: Florian Westphal --- tests/py/ip6/icmpv6.t.payload.ip6 | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tests/py/ip6/icmpv6.t.payload.ip6') diff --git a/tests/py/ip6/icmpv6.t.payload.ip6 b/tests/py/ip6/icmpv6.t.payload.ip6 index 171b7ead..448779d1 100644 --- a/tests/py/ip6/icmpv6.t.payload.ip6 +++ b/tests/py/ip6/icmpv6.t.payload.ip6 @@ -682,3 +682,10 @@ ip6 test-ip6 input [ payload load 2b @ transport header + 4 => reg 1 ] [ lookup reg 1 set __set%d 0x1 ] +# icmpv6 type parameter-problem icmpv6 code no-route +ip6 + [ meta load l4proto => reg 1 ] + [ cmp eq reg 1 0x0000003a ] + [ payload load 2b @ transport header + 0 => reg 1 ] + [ cmp eq reg 1 0x00000004 ] + -- cgit v1.2.3