summaryrefslogtreecommitdiffstats
path: root/tests/py/ip6/frag.t.payload.ip6
diff options
context:
space:
mode:
Diffstat (limited to 'tests/py/ip6/frag.t.payload.ip6')
-rw-r--r--tests/py/ip6/frag.t.payload.ip69
1 files changed, 3 insertions, 6 deletions
diff --git a/tests/py/ip6/frag.t.payload.ip6 b/tests/py/ip6/frag.t.payload.ip6
index 7c3e7a4e..0556395a 100644
--- a/tests/py/ip6/frag.t.payload.ip6
+++ b/tests/py/ip6/frag.t.payload.ip6
@@ -47,8 +47,7 @@ ip6 test-ip6 output
# frag reserved 33-45
ip6 test-ip6 output
[ exthdr load ipv6 1b @ 44 + 1 => reg 1 ]
- [ cmp gte reg 1 0x00000021 ]
- [ cmp lte reg 1 0x0000002d ]
+ [ range eq reg 1 0x00000021 0x0000002d ]
# frag reserved != 33-45
ip6 test-ip6 output
@@ -87,8 +86,7 @@ ip6 test-ip6 output
ip6 test-ip6 output
[ exthdr load ipv6 2b @ 44 + 2 => reg 1 ]
[ bitwise reg 1 = ( reg 1 & 0x0000f8ff ) ^ 0x00000000 ]
- [ cmp gte reg 1 0x00000801 ]
- [ cmp lte reg 1 0x00006801 ]
+ [ range eq reg 1 0x00000801 0x00006801 ]
# frag frag-off != 33-45
ip6 test-ip6 output
@@ -132,8 +130,7 @@ ip6 test-ip6 output
# frag id 33-45
ip6 test-ip6 output
[ exthdr load ipv6 4b @ 44 + 4 => reg 1 ]
- [ cmp gte reg 1 0x21000000 ]
- [ cmp lte reg 1 0x2d000000 ]
+ [ range eq reg 1 0x21000000 0x2d000000 ]
# frag id != 33-45
ip6 test-ip6 output