summaryrefslogtreecommitdiffstats
path: root/tests/py/inet/dnat.t.payload
diff options
context:
space:
mode:
Diffstat (limited to 'tests/py/inet/dnat.t.payload')
-rw-r--r--tests/py/inet/dnat.t.payload7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/py/inet/dnat.t.payload b/tests/py/inet/dnat.t.payload
index ca3ff631..ce1601ab 100644
--- a/tests/py/inet/dnat.t.payload
+++ b/tests/py/inet/dnat.t.payload
@@ -77,3 +77,10 @@ inet
[ immediate reg 2 0x00005000 ]
[ nat dnat ip addr_min reg 1 proto_min reg 2 flags 0x2 ]
+# meta l4proto tcp dnat to :80
+inet
+ [ meta load l4proto => reg 1 ]
+ [ cmp eq reg 1 0x00000006 ]
+ [ immediate reg 1 0x00005000 ]
+ [ nat dnat inet proto_min reg 1 flags 0x2 ]
+