summaryrefslogtreecommitdiffstats
path: root/tests/py/ip6/hbh.t.payload.inet
diff options
context:
space:
mode:
Diffstat (limited to 'tests/py/ip6/hbh.t.payload.inet')
-rw-r--r--tests/py/ip6/hbh.t.payload.inet6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/py/ip6/hbh.t.payload.inet b/tests/py/ip6/hbh.t.payload.inet
index 63afd832..10f010aa 100644
--- a/tests/py/ip6/hbh.t.payload.inet
+++ b/tests/py/ip6/hbh.t.payload.inet
@@ -17,8 +17,7 @@ inet test-inet filter-input
[ meta load nfproto => reg 1 ]
[ cmp eq reg 1 0x0000000a ]
[ 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
inet test-inet filter-input
@@ -86,8 +85,7 @@ inet test-inet filter-input
[ meta load nfproto => reg 1 ]
[ cmp eq reg 1 0x0000000a ]
[ 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
inet test-inet filter-input