summaryrefslogtreecommitdiffstats
path: root/tests/py/inet/esp.t.payload.ip6
diff options
context:
space:
mode:
Diffstat (limited to 'tests/py/inet/esp.t.payload.ip6')
-rw-r--r--tests/py/inet/esp.t.payload.ip66
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/py/inet/esp.t.payload.ip6 b/tests/py/inet/esp.t.payload.ip6
index 982412d2..0bc2e70c 100644
--- a/tests/py/inet/esp.t.payload.ip6
+++ b/tests/py/inet/esp.t.payload.ip6
@@ -25,8 +25,7 @@ ip6 test-ip6 input
[ payload load 1b @ network header + 6 => reg 1 ]
[ cmp eq reg 1 0x00000032 ]
[ payload load 4b @ transport header + 0 => reg 1 ]
- [ cmp lt reg 1 0x6f000000 ]
- [ cmp gt reg 1 0xde000000 ]
+ [ range neq reg 1 0x6f000000 0xde000000 ]
# esp spi { 100, 102}
__set%d test-ip6 3
@@ -68,8 +67,7 @@ ip6 test-ip6 input
[ payload load 1b @ network header + 6 => reg 1 ]
[ cmp eq reg 1 0x00000032 ]
[ payload load 4b @ transport header + 4 => reg 1 ]
- [ cmp lt reg 1 0x16000000 ]
- [ cmp gt reg 1 0x18000000 ]
+ [ range neq reg 1 0x16000000 0x18000000 ]
# esp sequence { 22, 24}
__set%d test-ip6 3