diff options
Diffstat (limited to 'tests/py/ip6/dst.t.payload.ip6')
-rw-r--r-- | tests/py/ip6/dst.t.payload.ip6 | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/py/ip6/dst.t.payload.ip6 b/tests/py/ip6/dst.t.payload.ip6 index 3f6c8e15..c022c7f7 100644 --- a/tests/py/ip6/dst.t.payload.ip6 +++ b/tests/py/ip6/dst.t.payload.ip6 @@ -17,8 +17,7 @@ ip6 test-ip6 input # dst nexthdr != 33-45 ip6 test-ip6 input [ exthdr load 1b @ 60 + 0 => reg 1 ] - [ cmp lt reg 1 0x00000021 ] - [ cmp gt reg 1 0x0000002d ] + [ range neq reg 1 0x00000021 0x0000002d ] # dst nexthdr { 33, 55, 67, 88} __set%d test-ip6 3 @@ -73,8 +72,7 @@ ip6 test-ip6 input # dst hdrlength != 33-45 ip6 test-ip6 input [ exthdr load 1b @ 60 + 1 => reg 1 ] - [ cmp lt reg 1 0x00000021 ] - [ cmp gt reg 1 0x0000002d ] + [ range neq reg 1 0x00000021 0x0000002d ] # dst hdrlength { 33, 55, 67, 88} __set%d test-ip6 3 |