summaryrefslogtreecommitdiffstats
path: root/tests/py/ip/masquerade.t.payload
diff options
context:
space:
mode:
Diffstat (limited to 'tests/py/ip/masquerade.t.payload')
-rw-r--r--tests/py/ip/masquerade.t.payload3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/py/ip/masquerade.t.payload b/tests/py/ip/masquerade.t.payload
index 79e52856..c4957fd7 100644
--- a/tests/py/ip/masquerade.t.payload
+++ b/tests/py/ip/masquerade.t.payload
@@ -100,8 +100,7 @@ ip test-ip4 postrouting
# ip daddr 10.0.0.0-10.2.3.4 udp dport 53 counter masquerade
ip test-ip4 postrouting
[ payload load 4b @ network header + 16 => reg 1 ]
- [ cmp gte reg 1 0x0000000a ]
- [ cmp lte reg 1 0x0403020a ]
+ [ range eq reg 1 0x0000000a 0x0403020a ]
[ meta load l4proto => reg 1 ]
[ cmp eq reg 1 0x00000011 ]
[ payload load 2b @ transport header + 2 => reg 1 ]