summaryrefslogtreecommitdiffstats
path: root/tests/py/ip6/tproxy.t.payload
diff options
context:
space:
mode:
Diffstat (limited to 'tests/py/ip6/tproxy.t.payload')
-rw-r--r--tests/py/ip6/tproxy.t.payload7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/py/ip6/tproxy.t.payload b/tests/py/ip6/tproxy.t.payload
index c78c8a1d..9f28e80b 100644
--- a/tests/py/ip6/tproxy.t.payload
+++ b/tests/py/ip6/tproxy.t.payload
@@ -35,3 +35,10 @@ ip6 x y
[ immediate reg 2 0x0000a0c3 ]
[ tproxy ip6 addr reg 1 port reg 2 ]
+# meta l4proto 6 tproxy ip6 to :50080
+ip6 x y
+ [ meta load l4proto => reg 1 ]
+ [ cmp eq reg 1 0x00000006 ]
+ [ immediate reg 1 0x0000a0c3 ]
+ [ tproxy ip6 port reg 1 ]
+