summaryrefslogtreecommitdiffstats
path: root/tests/py/any
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2019-07-16 21:40:27 +0200
committerFlorian Westphal <fw@strlen.de>2019-07-17 10:08:51 +0200
commit82cc676289803cfd1e69dfeaa4658d57a1547a86 (patch)
treef53592c0fe8800bb85f50e81b3e06ad5631257e9 /tests/py/any
parentf56b93e212f4bd2bf706fc939c690182086b6ee1 (diff)
tests: fix up two broken json test cases
Forgot to add a json test case for the recently added ct ip addr in map case. Fix up rawpayload.t for json, it needs to expect new "th dport" when listing. Reported-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'tests/py/any')
-rw-r--r--tests/py/any/rawpayload.t.json.output5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/py/any/rawpayload.t.json.output b/tests/py/any/rawpayload.t.json.output
index a234e99a..ccadbc57 100644
--- a/tests/py/any/rawpayload.t.json.output
+++ b/tests/py/any/rawpayload.t.json.output
@@ -19,9 +19,8 @@
"match": {
"left": {
"payload": {
- "base": "th",
- "len": 16,
- "offset": 16
+ "field": "dport",
+ "protocol": "th"
}
},
"op": "==",