]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: sample: Fix output type of c_ipv62ip
authorTim Duesterhus <tim@bastelstu.be>
Thu, 25 Jan 2018 15:24:46 +0000 (16:24 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 25 Jan 2018 21:25:40 +0000 (22:25 +0100)
commitbf5ce02effdc2d471fdb421010757320136cbb45
tree4c275b4f45f4a16ff2aa4e3757c535c214f6faa8
parentec6b0a2d189b84d743baccbcc14a4a4b97390549
BUG/MINOR: sample: Fix output type of c_ipv62ip

c_ipv62ip failed to set the output type of the cast to SMP_T_IPV4
even for a successful conversion.

This bug exists as of commit cc4d1716a2e72516c2505a6459a9ddbbfb186da2
which is the first commit adding this function.

v1.6-dev4 is the first tag containing this commit, the fix should
be backported to haproxy 1.6 and newer.
src/sample.c