summaryrefslogtreecommitdiffstats
path: root/tests/py/inet/map.t.json
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2018-08-29 16:23:25 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2018-08-30 12:19:36 +0200
commit665da8df3cfaf482157b752f5de98c45038621c3 (patch)
tree2e24a645694a8b0c06ff1adfbc2b6165fae4f5b8 /tests/py/inet/map.t.json
parentdfd72398d44ebbe17929d6e8ca0c870087a0c644 (diff)
JSON: Rename (v)map expression properties
Change the rather generic "left" and "right" into "key" and "data" as suggested at NFWS. Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/py/inet/map.t.json')
-rw-r--r--tests/py/inet/map.t.json8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/py/inet/map.t.json b/tests/py/inet/map.t.json
index 7fc2ac33..207ac3f3 100644
--- a/tests/py/inet/map.t.json
+++ b/tests/py/inet/map.t.json
@@ -7,13 +7,13 @@
},
"right": {
"map": {
- "left": {
+ "key": {
"payload": {
"field": "saddr",
"protocol": "ip"
}
},
- "right": {
+ "data": {
"set": [
[
"10.2.3.2",
@@ -40,13 +40,13 @@
},
"right": {
"map": {
- "left": {
+ "key": {
"payload": {
"field": "hdrlength",
"protocol": "ip"
}
},
- "right": {
+ "data": {
"set": [
[
5,