From 6ee08a4d50a56bf786ade1188b63338d550d7e99 Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Thu, 9 May 2019 13:35:44 +0200 Subject: tests/py: Fix JSON expected output after expr merge change Looks like original patch missed this one. Fixes: 88ba0c92754d8 ("tests: fix up expected payloads after expr merge change") Signed-off-by: Phil Sutter Signed-off-by: Pablo Neira Ayuso --- tests/py/inet/tcp.t.json.output | 44 ++--------------------------------------- 1 file changed, 2 insertions(+), 42 deletions(-) (limited to 'tests/py') diff --git a/tests/py/inet/tcp.t.json.output b/tests/py/inet/tcp.t.json.output index 143490f7..0f7a593b 100644 --- a/tests/py/inet/tcp.t.json.output +++ b/tests/py/inet/tcp.t.json.output @@ -23,32 +23,8 @@ } ] -# tcp sequence 0 tcp sport 1024 tcp dport 22 +# tcp sequence 0 tcp sport { 1024, 1022} tcp dport 22 [ - { - "match": { - "left": { - "payload": { - "field": "sport", - "protocol": "tcp" - } - }, - "op": "==", - "right": 1024 - } - }, - { - "match": { - "left": { - "payload": { - "field": "dport", - "protocol": "tcp" - } - }, - "op": "==", - "right": 22 - } - }, { "match": { "left": { @@ -60,11 +36,7 @@ "op": "==", "right": 0 } - } -] - -# tcp sequence 0 tcp sport { 1024, 1022} tcp dport 22 -[ + }, { "match": { "left": { @@ -93,18 +65,6 @@ "op": "==", "right": 22 } - }, - { - "match": { - "left": { - "payload": { - "field": "sequence", - "protocol": "tcp" - } - }, - "op": "==", - "right": 0 - } } ] -- cgit v1.2.3