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/icmp.t.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'tests/py/inet/icmp.t.json') diff --git a/tests/py/inet/icmp.t.json b/tests/py/inet/icmp.t.json index 55217cc9..efc40428 100644 --- a/tests/py/inet/icmp.t.json +++ b/tests/py/inet/icmp.t.json @@ -5,7 +5,7 @@ "left": { "payload": { "field": "type", - "name": "icmp" + "protocol": "icmp" } }, "right": "echo-request" @@ -20,7 +20,7 @@ "left": { "payload": { "field": "type", - "name": "icmpv6" + "protocol": "icmpv6" } }, "right": "echo-request" @@ -41,7 +41,7 @@ "left": { "payload": { "field": "type", - "name": "icmp" + "protocol": "icmp" } }, "right": "echo-request" @@ -62,7 +62,7 @@ "left": { "payload": { "field": "type", - "name": "icmpv6" + "protocol": "icmpv6" } }, "right": "echo-request" @@ -83,7 +83,7 @@ "left": { "payload": { "field": "type", - "name": "icmp" + "protocol": "icmp" } }, "right": "echo-request" @@ -104,7 +104,7 @@ "left": { "payload": { "field": "type", - "name": "icmpv6" + "protocol": "icmpv6" } }, "right": "echo-request" -- cgit v1.2.3