summaryrefslogtreecommitdiffstats
path: root/tests/py/ip6/icmpv6.t.json
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2021-02-01 22:44:25 +0100
committerFlorian Westphal <fw@strlen.de>2021-02-01 22:47:04 +0100
commit3eb14fd93093c5e084d3ac1c4b0171cf80fb264f (patch)
treed7e9bbb91f3e21346f159ab0dae50e28b3a7fec7 /tests/py/ip6/icmpv6.t.json
parent5789da3b729f5e3724aeecdcec1a44476659ed03 (diff)
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 <fw@strlen.de>
Diffstat (limited to 'tests/py/ip6/icmpv6.t.json')
-rw-r--r--tests/py/ip6/icmpv6.t.json28
1 files changed, 28 insertions, 0 deletions
diff --git a/tests/py/ip6/icmpv6.t.json b/tests/py/ip6/icmpv6.t.json
index ffc4931c..e2b25a65 100644
--- a/tests/py/ip6/icmpv6.t.json
+++ b/tests/py/ip6/icmpv6.t.json
@@ -1315,3 +1315,31 @@
}
}
]
+
+# icmpv6 type parameter-problem icmpv6 code no-route
+[
+ {
+ "match": {
+ "left": {
+ "payload": {
+ "field": "type",
+ "protocol": "icmpv6"
+ }
+ },
+ "op": "==",
+ "right": "parameter-problem"
+ }
+ },
+ {
+ "match": {
+ "left": {
+ "payload": {
+ "field": "code",
+ "protocol": "icmpv6"
+ }
+ },
+ "op": "==",
+ "right": "no-route"
+ }
+ }
+]