summaryrefslogtreecommitdiffstats
path: root/tests/py/ip6/map.t
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2016-01-24 13:29:55 +0100
committerFlorian Westphal <fw@strlen.de>2016-01-26 14:31:30 +0100
commit1441728b56f3ed8288b7b3bab0422adf1f90cecc (patch)
treea41361c8f95666afe846f15fe57beb4551a855c6 /tests/py/ip6/map.t
parentef397928c17b7ea9cb86f03935577cebd56d0a3d (diff)
tests: add two map test cases
One normal map lookup, one with an explicit binop. The latter is supposed to also work with the followup patch applied. Signed-off-by: Florian Westphal <fw@strlen.de> Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/py/ip6/map.t')
-rw-r--r--tests/py/ip6/map.t5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/py/ip6/map.t b/tests/py/ip6/map.t
new file mode 100644
index 00000000..3377f8d3
--- /dev/null
+++ b/tests/py/ip6/map.t
@@ -0,0 +1,5 @@
+:input;type filter hook input priority 0
+*ip6;test-ip6;input
+
+mark set ip6 saddr and ::ffff map { ::2 : 0x0000002a, ::ffff : 0x00000017};ok;mark set ip6 saddr & ::ffff map { ::2 : 0x0000002a, ::ffff : 0x00000017}
+