From: Pablo Neira Ayuso Date: Mon, 14 Nov 2016 20:50:33 +0000 (+0100) Subject: tests: py: missing range conversion in icmpv6 X-Git-Tag: v0.7~39 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75bbb065740e184a8d910db014fdb8949cc5f18e;p=thirdparty%2Fnftables.git tests: py: missing range conversion in icmpv6 Use range expression to negate ranges. Signed-off-by: Pablo Neira Ayuso --- diff --git a/tests/py/ip6/icmpv6.t.payload.ip6 b/tests/py/ip6/icmpv6.t.payload.ip6 index a00f392e..8d33249e 100644 --- a/tests/py/ip6/icmpv6.t.payload.ip6 +++ b/tests/py/ip6/icmpv6.t.payload.ip6 @@ -389,8 +389,7 @@ ip6 test-ip6 input [ payload load 1b @ network header + 6 => reg 1 ] [ cmp eq reg 1 0x0000003a ] [ payload load 2b @ transport header + 4 => reg 1 ] - [ cmp lt reg 1 0x00002100 ] - [ cmp gt reg 1 0x00002d00 ] + [ range neq reg 1 0x00002100 0x00002d00 ] # icmpv6 max-delay {33, 55, 67, 88} __set%d test-ip6 3