summaryrefslogtreecommitdiffstats
path: root/tests/py/any/rawpayload.t.json.output
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2021-11-05 16:47:57 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2021-11-08 10:59:33 +0100
commit11e626661ded22880721ff54fbe7647166fc31bd (patch)
tree867475206e221223ab5aa5456fb8f4bb6bdf98af /tests/py/any/rawpayload.t.json.output
parent54fad93312fcdf07ab3ebbe3d807c57c71440cd2 (diff)
tests: py: update rawpayload.t.json
Missing update of json test. Fixes: 6ad2058da66a ("datatype: add xinteger_type alias to print in hexadecimal") Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/py/any/rawpayload.t.json.output')
-rw-r--r--tests/py/any/rawpayload.t.json.output18
1 files changed, 17 insertions, 1 deletions
diff --git a/tests/py/any/rawpayload.t.json.output b/tests/py/any/rawpayload.t.json.output
index ccadbc57..291b237a 100644
--- a/tests/py/any/rawpayload.t.json.output
+++ b/tests/py/any/rawpayload.t.json.output
@@ -79,7 +79,7 @@
}
]
-# @ll,0,8 and 0x80 eq 0x80
+# @ll,0,8 & 0x80 == 0x80
[
{
"match": {
@@ -101,3 +101,19 @@
}
]
+# @nh,8,8 0xff
+[
+ {
+ "match": {
+ "left": {
+ "payload": {
+ "base": "nh",
+ "len": 8,
+ "offset": 8
+ }
+ },
+ "op": "==",
+ "right": 255
+ }
+ }
+]