]> git.ipfire.org Git - thirdparty/haproxy.git/commit
REGTEST: relax the IPv6 address format checks in converters_ipmask_concat_strcmp_fiel...
authorWilly Tarreau <w@1wt.eu>
Thu, 25 Apr 2019 06:47:15 +0000 (08:47 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 25 Apr 2019 06:47:15 +0000 (08:47 +0200)
commit4fd376d51d6698f7a650e2c3ad3e171ef3fa7c82
tree9193c679ca16c4b7b36058298d969f21e041d057
parent03c6ab0cbb0e40efd058a96a637428fff5017401
REGTEST: relax the IPv6 address format checks in converters_ipmask_concat_strcmp_field_word

In Travis build https://travis-ci.com/haproxy/haproxy/jobs/195477767 we
can see that OSX tends to pad zeroes at a different position than Linux
in compact IPv6 addresses, resulting in a failure in the checks which
were developped on Linux. This patch uses [0:]* in holes and [0:]+ at the
end of addresses to allow the different variants. It will unfortunately
also accept impossible addresses but there is no reason that we have to
care about for such crap to be emitted.
reg-tests/http-rules/converters_ipmask_concat_strcmp_field_word.vtc