summaryrefslogtreecommitdiffstats
path: root/tests/py/ip6/map.t.json.output
diff options
context:
space:
mode:
Diffstat (limited to 'tests/py/ip6/map.t.json.output')
-rw-r--r--tests/py/ip6/map.t.json.output38
1 files changed, 38 insertions, 0 deletions
diff --git a/tests/py/ip6/map.t.json.output b/tests/py/ip6/map.t.json.output
new file mode 100644
index 00000000..3eecf13b
--- /dev/null
+++ b/tests/py/ip6/map.t.json.output
@@ -0,0 +1,38 @@
+# mark set ip6 saddr and ::ffff map { ::2 : 0x0000002a, ::ffff : 0x00000017}
+[
+ {
+ "mangle": {
+ "left": {
+ "meta": "mark"
+ },
+ "right": {
+ "map": {
+ "left": {
+ "&": [
+ {
+ "payload": {
+ "field": "saddr",
+ "name": "ip6"
+ }
+ },
+ "::ffff"
+ ]
+ },
+ "right": {
+ "set": [
+ [
+ "::2",
+ 42
+ ],
+ [
+ "::ffff",
+ 23
+ ]
+ ]
+ }
+ }
+ }
+ }
+ }
+]
+