summaryrefslogtreecommitdiffstats
path: root/tests/py/inet/dnat.t.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/py/inet/dnat.t.json')
-rw-r--r--tests/py/inet/dnat.t.json20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/py/inet/dnat.t.json b/tests/py/inet/dnat.t.json
index 1b8aba62..c341a045 100644
--- a/tests/py/inet/dnat.t.json
+++ b/tests/py/inet/dnat.t.json
@@ -219,3 +219,23 @@
}
]
+# meta l4proto tcp dnat to :80
+[
+ {
+ "match": {
+ "left": {
+ "meta": {
+ "key": "l4proto"
+ }
+ },
+ "op": "==",
+ "right": 6
+ }
+ },
+ {
+ "dnat": {
+ "port": 80
+ }
+ }
+]
+