summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2019-05-09 13:35:44 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2019-05-09 17:19:50 +0200
commit6ee08a4d50a56bf786ade1188b63338d550d7e99 (patch)
tree3516017d75f77ebc7d88720b7b39f61b84bac8eb /tests
parent4584c1c15999ca132fe42ffd4d84f0696b55483e (diff)
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 <phil@nwl.cc> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/py/inet/tcp.t.json.output44
1 files changed, 2 insertions, 42 deletions
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,36 +23,12 @@
}
]
-# 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": {
- "payload": {
"field": "sequence",
"protocol": "tcp"
}
@@ -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
- }
}
]