summaryrefslogtreecommitdiffstats
path: root/tests/py/ip6/sets.t.payload.ip6
diff options
context:
space:
mode:
Diffstat (limited to 'tests/py/ip6/sets.t.payload.ip6')
-rw-r--r--tests/py/ip6/sets.t.payload.ip66
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/py/ip6/sets.t.payload.ip6 b/tests/py/ip6/sets.t.payload.ip6
new file mode 100644
index 00000000..0e51fd3e
--- /dev/null
+++ b/tests/py/ip6/sets.t.payload.ip6
@@ -0,0 +1,6 @@
+# ip6 saddr @set2 drop
+ip6 test-ip6 input
+ [ payload load 16b @ network header + 8 => reg 1 ]
+ [ lookup reg 1 set set2 ]
+ [ immediate reg 0 drop ]
+