summaryrefslogtreecommitdiffstats
path: root/tests/py/ip/masquerade.t.json
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2018-08-29 16:23:24 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2018-08-30 12:19:36 +0200
commitdfd72398d44ebbe17929d6e8ca0c870087a0c644 (patch)
treea4dbab2e4c814f99f7ffe2d4831a82ceb249c249 /tests/py/ip/masquerade.t.json
parent8125785d5c5d35ec275e508166091d5472748bc1 (diff)
JSON: Review payload expression
For raw payloads, property "name" is not needed, it's clearly identified by base/offset/len properties. In non-raw payload expressions, rename property "name" to "protocol" as suggested during NFWS. Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/py/ip/masquerade.t.json')
-rw-r--r--tests/py/ip/masquerade.t.json34
1 files changed, 17 insertions, 17 deletions
diff --git a/tests/py/ip/masquerade.t.json b/tests/py/ip/masquerade.t.json
index f2f798fe..64148767 100644
--- a/tests/py/ip/masquerade.t.json
+++ b/tests/py/ip/masquerade.t.json
@@ -5,7 +5,7 @@
"left": {
"payload": {
"field": "dport",
- "name": "udp"
+ "protocol": "udp"
}
},
"right": 53
@@ -23,7 +23,7 @@
"left": {
"payload": {
"field": "dport",
- "name": "udp"
+ "protocol": "udp"
}
},
"right": 53
@@ -43,7 +43,7 @@
"left": {
"payload": {
"field": "dport",
- "name": "udp"
+ "protocol": "udp"
}
},
"right": 53
@@ -66,7 +66,7 @@
"left": {
"payload": {
"field": "dport",
- "name": "udp"
+ "protocol": "udp"
}
},
"right": 53
@@ -90,7 +90,7 @@
"left": {
"payload": {
"field": "dport",
- "name": "udp"
+ "protocol": "udp"
}
},
"right": 53
@@ -113,7 +113,7 @@
"left": {
"payload": {
"field": "dport",
- "name": "udp"
+ "protocol": "udp"
}
},
"right": 53
@@ -137,7 +137,7 @@
"left": {
"payload": {
"field": "dport",
- "name": "udp"
+ "protocol": "udp"
}
},
"right": 53
@@ -157,7 +157,7 @@
"left": {
"payload": {
"field": "dport",
- "name": "udp"
+ "protocol": "udp"
}
},
"right": 53
@@ -180,7 +180,7 @@
"left": {
"payload": {
"field": "dport",
- "name": "udp"
+ "protocol": "udp"
}
},
"right": 53
@@ -204,7 +204,7 @@
"left": {
"payload": {
"field": "dport",
- "name": "udp"
+ "protocol": "udp"
}
},
"right": 53
@@ -227,7 +227,7 @@
"left": {
"payload": {
"field": "dport",
- "name": "udp"
+ "protocol": "udp"
}
},
"right": 53
@@ -251,7 +251,7 @@
"left": {
"payload": {
"field": "protocol",
- "name": "ip"
+ "protocol": "ip"
}
},
"right": 6
@@ -271,7 +271,7 @@
"left": {
"payload": {
"field": "protocol",
- "name": "ip"
+ "protocol": "ip"
}
},
"right": 6
@@ -293,7 +293,7 @@
"left": {
"payload": {
"field": "dport",
- "name": "tcp"
+ "protocol": "tcp"
}
},
"right": {
@@ -328,7 +328,7 @@
"left": {
"payload": {
"field": "daddr",
- "name": "ip"
+ "protocol": "ip"
}
},
"right": {
@@ -341,7 +341,7 @@
"left": {
"payload": {
"field": "dport",
- "name": "udp"
+ "protocol": "udp"
}
},
"right": 53
@@ -383,7 +383,7 @@
"left": {
"payload": {
"field": "dport",
- "name": "tcp"
+ "protocol": "tcp"
}
},
"right": {