From dfd72398d44ebbe17929d6e8ca0c870087a0c644 Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Wed, 29 Aug 2018 16:23:24 +0200 Subject: 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 Signed-off-by: Pablo Neira Ayuso --- tests/py/inet/tcp.t.json.output | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'tests/py/inet/tcp.t.json.output') diff --git a/tests/py/inet/tcp.t.json.output b/tests/py/inet/tcp.t.json.output index d099d6fe..e840169a 100644 --- a/tests/py/inet/tcp.t.json.output +++ b/tests/py/inet/tcp.t.json.output @@ -5,7 +5,7 @@ "left": { "payload": { "field": "dport", - "name": "tcp" + "protocol": "tcp" } }, "right": { @@ -29,7 +29,7 @@ "left": { "payload": { "field": "sport", - "name": "tcp" + "protocol": "tcp" } }, "right": 1024 @@ -40,7 +40,7 @@ "left": { "payload": { "field": "dport", - "name": "tcp" + "protocol": "tcp" } }, "right": 22 @@ -51,7 +51,7 @@ "left": { "payload": { "field": "sequence", - "name": "tcp" + "protocol": "tcp" } }, "right": 0 @@ -66,7 +66,7 @@ "left": { "payload": { "field": "sport", - "name": "tcp" + "protocol": "tcp" } }, "right": { @@ -82,7 +82,7 @@ "left": { "payload": { "field": "dport", - "name": "tcp" + "protocol": "tcp" } }, "right": 22 @@ -93,7 +93,7 @@ "left": { "payload": { "field": "sequence", - "name": "tcp" + "protocol": "tcp" } }, "right": 0 @@ -110,7 +110,7 @@ { "payload": { "field": "flags", - "name": "tcp" + "protocol": "tcp" } }, { -- cgit v1.2.3