summaryrefslogtreecommitdiffstats
path: root/tests/py/ip6/hbh.t.payload.ip6
diff options
context:
space:
mode:
Diffstat (limited to 'tests/py/ip6/hbh.t.payload.ip6')
-rw-r--r--tests/py/ip6/hbh.t.payload.ip66
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/py/ip6/hbh.t.payload.ip6 b/tests/py/ip6/hbh.t.payload.ip6
index 913505a5..a6bc7ae6 100644
--- a/tests/py/ip6/hbh.t.payload.ip6
+++ b/tests/py/ip6/hbh.t.payload.ip6
@@ -11,8 +11,7 @@ ip6 test-ip6 filter-input
# hbh hdrlength 33-45
ip6 test-ip6 filter-input
[ exthdr load ipv6 1b @ 0 + 1 => reg 1 ]
- [ cmp gte reg 1 0x00000021 ]
- [ cmp lte reg 1 0x0000002d ]
+ [ range eq reg 1 0x00000021 0x0000002d ]
# hbh hdrlength != 33-45
ip6 test-ip6 filter-input
@@ -64,8 +63,7 @@ ip6 test-ip6 filter-input
# hbh nexthdr 33-45
ip6 test-ip6 filter-input
[ exthdr load ipv6 1b @ 0 + 0 => reg 1 ]
- [ cmp gte reg 1 0x00000021 ]
- [ cmp lte reg 1 0x0000002d ]
+ [ range eq reg 1 0x00000021 0x0000002d ]
# hbh nexthdr != 33-45
ip6 test-ip6 filter-input