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/ip6/redirect.t.json.output | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'tests/py/ip6/redirect.t.json.output') diff --git a/tests/py/ip6/redirect.t.json.output b/tests/py/ip6/redirect.t.json.output index ffc898ec..6f919ac8 100644 --- a/tests/py/ip6/redirect.t.json.output +++ b/tests/py/ip6/redirect.t.json.output @@ -5,7 +5,7 @@ "left": { "payload": { "field": "dport", - "name": "udp" + "protocol": "udp" } }, "right": 53 @@ -29,7 +29,7 @@ "left": { "payload": { "field": "dport", - "name": "udp" + "protocol": "udp" } }, "right": 53 @@ -52,7 +52,7 @@ "left": { "payload": { "field": "dport", - "name": "udp" + "protocol": "udp" } }, "right": 53 @@ -76,7 +76,7 @@ "left": { "payload": { "field": "dport", - "name": "udp" + "protocol": "udp" } }, "right": 53 @@ -99,7 +99,7 @@ "left": { "payload": { "field": "dport", - "name": "udp" + "protocol": "udp" } }, "right": 53 @@ -123,7 +123,7 @@ "left": { "payload": { "field": "nexthdr", - "name": "ip6" + "protocol": "ip6" } }, "right": 6 -- cgit v1.2.3