summaryrefslogtreecommitdiffstats
path: root/tests/py/ip6/reject.t.payload.ip6
diff options
context:
space:
mode:
Diffstat (limited to 'tests/py/ip6/reject.t.payload.ip6')
-rw-r--r--tests/py/ip6/reject.t.payload.ip68
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/py/ip6/reject.t.payload.ip6 b/tests/py/ip6/reject.t.payload.ip6
index aa0b9ff2..fcae382b 100644
--- a/tests/py/ip6/reject.t.payload.ip6
+++ b/tests/py/ip6/reject.t.payload.ip6
@@ -18,6 +18,14 @@ ip6 test-ip6 output
ip6 test-ip6 output
[ reject type 0 code 4 ]
+# reject with icmpv6 type policy-fail
+ip6 test-ip6 output
+ [ reject type 0 code 5 ]
+
+# reject with icmpv6 type reject-route
+ip6 test-ip6 output
+ [ reject type 0 code 6 ]
+
# reject with tcp reset
ip6 test-ip6 output
[ payload load 1b @ network header + 6 => reg 1 ]