summaryrefslogtreecommitdiffstats
path: root/tests/py/inet/comp.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/inet/comp.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/inet/comp.t.json')
-rw-r--r--tests/py/inet/comp.t.json34
1 files changed, 17 insertions, 17 deletions
diff --git a/tests/py/inet/comp.t.json b/tests/py/inet/comp.t.json
index d76d6ed8..56fccafb 100644
--- a/tests/py/inet/comp.t.json
+++ b/tests/py/inet/comp.t.json
@@ -5,7 +5,7 @@
"left": {
"payload": {
"field": "nexthdr",
- "name": "comp"
+ "protocol": "comp"
}
},
"op": "!=",
@@ -21,7 +21,7 @@
"left": {
"payload": {
"field": "flags",
- "name": "comp"
+ "protocol": "comp"
}
},
"right": "0x0"
@@ -36,7 +36,7 @@
"left": {
"payload": {
"field": "flags",
- "name": "comp"
+ "protocol": "comp"
}
},
"op": "!=",
@@ -52,7 +52,7 @@
"left": {
"payload": {
"field": "flags",
- "name": "comp"
+ "protocol": "comp"
}
},
"right": {
@@ -69,7 +69,7 @@
"left": {
"payload": {
"field": "flags",
- "name": "comp"
+ "protocol": "comp"
}
},
"op": "!=",
@@ -87,7 +87,7 @@
"left": {
"payload": {
"field": "flags",
- "name": "comp"
+ "protocol": "comp"
}
},
"right": {
@@ -109,7 +109,7 @@
"left": {
"payload": {
"field": "flags",
- "name": "comp"
+ "protocol": "comp"
}
},
"op": "!=",
@@ -132,7 +132,7 @@
"left": {
"payload": {
"field": "flags",
- "name": "comp"
+ "protocol": "comp"
}
},
"right": {
@@ -151,7 +151,7 @@
"left": {
"payload": {
"field": "flags",
- "name": "comp"
+ "protocol": "comp"
}
},
"op": "!=",
@@ -171,7 +171,7 @@
"left": {
"payload": {
"field": "cpi",
- "name": "comp"
+ "protocol": "comp"
}
},
"right": 22
@@ -186,7 +186,7 @@
"left": {
"payload": {
"field": "cpi",
- "name": "comp"
+ "protocol": "comp"
}
},
"op": "!=",
@@ -202,7 +202,7 @@
"left": {
"payload": {
"field": "cpi",
- "name": "comp"
+ "protocol": "comp"
}
},
"right": {
@@ -219,7 +219,7 @@
"left": {
"payload": {
"field": "cpi",
- "name": "comp"
+ "protocol": "comp"
}
},
"op": "!=",
@@ -237,7 +237,7 @@
"left": {
"payload": {
"field": "cpi",
- "name": "comp"
+ "protocol": "comp"
}
},
"right": {
@@ -259,7 +259,7 @@
"left": {
"payload": {
"field": "cpi",
- "name": "comp"
+ "protocol": "comp"
}
},
"op": "!=",
@@ -282,7 +282,7 @@
"left": {
"payload": {
"field": "cpi",
- "name": "comp"
+ "protocol": "comp"
}
},
"right": {
@@ -301,7 +301,7 @@
"left": {
"payload": {
"field": "cpi",
- "name": "comp"
+ "protocol": "comp"
}
},
"op": "!=",