summaryrefslogtreecommitdiffstats
path: root/tests/py/inet/ah.t.payload.inet
diff options
context:
space:
mode:
Diffstat (limited to 'tests/py/inet/ah.t.payload.inet')
-rw-r--r--tests/py/inet/ah.t.payload.inet12
1 files changed, 4 insertions, 8 deletions
diff --git a/tests/py/inet/ah.t.payload.inet b/tests/py/inet/ah.t.payload.inet
index 739386a3..1e56797f 100644
--- a/tests/py/inet/ah.t.payload.inet
+++ b/tests/py/inet/ah.t.payload.inet
@@ -11,8 +11,7 @@ inet test-inet input
[ meta load l4proto => reg 1 ]
[ cmp eq reg 1 0x00000033 ]
[ payload load 1b @ transport header + 1 => reg 1 ]
- [ cmp lt reg 1 0x0000000b ]
- [ cmp gt reg 1 0x00000017 ]
+ [ range neq reg 1 0x0000000b 0x00000017 ]
# ah hdrlength { 11-23}
__set%d test-inet 7
@@ -61,8 +60,7 @@ inet test-inet input
[ meta load l4proto => reg 1 ]
[ cmp eq reg 1 0x00000033 ]
[ payload load 2b @ transport header + 2 => reg 1 ]
- [ cmp lt reg 1 0x00002100 ]
- [ cmp gt reg 1 0x00002d00 ]
+ [ range neq reg 1 0x00002100 0x00002d00 ]
# ah reserved {23, 100}
__set%d test-inet 3
@@ -111,8 +109,7 @@ inet test-inet input
[ meta load l4proto => reg 1 ]
[ cmp eq reg 1 0x00000033 ]
[ payload load 4b @ transport header + 4 => reg 1 ]
- [ cmp lt reg 1 0x6f000000 ]
- [ cmp gt reg 1 0xde000000 ]
+ [ range neq reg 1 0x6f000000 0xde000000 ]
# ah spi {111, 122}
__set%d test-inet 3
@@ -181,6 +178,5 @@ inet test-inet input
[ meta load l4proto => reg 1 ]
[ cmp eq reg 1 0x00000033 ]
[ payload load 4b @ transport header + 8 => reg 1 ]
- [ cmp lt reg 1 0x17000000 ]
- [ cmp gt reg 1 0x21000000 ]
+ [ range neq reg 1 0x17000000 0x21000000 ]