summaryrefslogtreecommitdiffstats
path: root/tests/py/bridge/reject.t.json.output
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/bridge/reject.t.json.output
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/bridge/reject.t.json.output')
-rw-r--r--tests/py/bridge/reject.t.json.output24
1 files changed, 12 insertions, 12 deletions
diff --git a/tests/py/bridge/reject.t.json.output b/tests/py/bridge/reject.t.json.output
index 602af9c1..a83feabc 100644
--- a/tests/py/bridge/reject.t.json.output
+++ b/tests/py/bridge/reject.t.json.output
@@ -5,7 +5,7 @@
"left": {
"payload": {
"field": "type",
- "name": "ether"
+ "protocol": "ether"
}
},
"right": "ip"
@@ -26,7 +26,7 @@
"left": {
"payload": {
"field": "type",
- "name": "ether"
+ "protocol": "ether"
}
},
"right": "ip"
@@ -47,7 +47,7 @@
"left": {
"payload": {
"field": "type",
- "name": "ether"
+ "protocol": "ether"
}
},
"right": "ip"
@@ -68,7 +68,7 @@
"left": {
"payload": {
"field": "type",
- "name": "ether"
+ "protocol": "ether"
}
},
"right": "ip"
@@ -86,7 +86,7 @@
"left": {
"payload": {
"field": "type",
- "name": "ether"
+ "protocol": "ether"
}
},
"right": "ip"
@@ -107,7 +107,7 @@
"left": {
"payload": {
"field": "type",
- "name": "ether"
+ "protocol": "ether"
}
},
"right": "ip"
@@ -128,7 +128,7 @@
"left": {
"payload": {
"field": "type",
- "name": "ether"
+ "protocol": "ether"
}
},
"right": "ip"
@@ -149,7 +149,7 @@
"left": {
"payload": {
"field": "type",
- "name": "ether"
+ "protocol": "ether"
}
},
"right": "ip6"
@@ -170,7 +170,7 @@
"left": {
"payload": {
"field": "type",
- "name": "ether"
+ "protocol": "ether"
}
},
"right": "ip6"
@@ -191,7 +191,7 @@
"left": {
"payload": {
"field": "type",
- "name": "ether"
+ "protocol": "ether"
}
},
"right": "ip6"
@@ -212,7 +212,7 @@
"left": {
"payload": {
"field": "type",
- "name": "ether"
+ "protocol": "ether"
}
},
"right": "ip6"
@@ -238,7 +238,7 @@
"left": {
"payload": {
"field": "protocol",
- "name": "ip"
+ "protocol": "ip"
}
},
"right": 6