summaryrefslogtreecommitdiffstats
path: root/tests/py/ip6/icmpv6.t.payload.ip6
diff options
context:
space:
mode:
Diffstat (limited to 'tests/py/ip6/icmpv6.t.payload.ip6')
-rw-r--r--tests/py/ip6/icmpv6.t.payload.ip69
1 files changed, 3 insertions, 6 deletions
diff --git a/tests/py/ip6/icmpv6.t.payload.ip6 b/tests/py/ip6/icmpv6.t.payload.ip6
index 4b6f5412..822db2d5 100644
--- a/tests/py/ip6/icmpv6.t.payload.ip6
+++ b/tests/py/ip6/icmpv6.t.payload.ip6
@@ -266,8 +266,7 @@ ip6 test-ip6 input
[ payload load 1b @ network header + 6 => reg 1 ]
[ cmp eq reg 1 0x0000003a ]
[ payload load 4b @ transport header + 4 => reg 1 ]
- [ cmp lt reg 1 0x21000000 ]
- [ cmp gt reg 1 0x2d000000 ]
+ [ range neq reg 1 0x21000000 0x2d000000 ]
# icmpv6 mtu {33, 55, 67, 88}
__set%d test-ip6 3
@@ -302,8 +301,7 @@ ip6 test-ip6 input
[ payload load 1b @ network header + 6 => reg 1 ]
[ cmp eq reg 1 0x0000003a ]
[ payload load 2b @ transport header + 4 => reg 1 ]
- [ cmp lt reg 1 0x00002100 ]
- [ cmp gt reg 1 0x00002d00 ]
+ [ range neq reg 1 0x00002100 0x00002d00 ]
# icmpv6 id {33, 55, 67, 88}
__set%d test-ip6 3
@@ -366,8 +364,7 @@ ip6 test-ip6 input
[ payload load 1b @ network header + 6 => reg 1 ]
[ cmp eq reg 1 0x0000003a ]
[ payload load 2b @ transport header + 6 => reg 1 ]
- [ cmp lt reg 1 0x00000200 ]
- [ cmp gt reg 1 0x00000400 ]
+ [ range neq reg 1 0x00000200 0x00000400 ]
# icmpv6 sequence { 2-4}
__set%d test-ip6 7