]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: connection: fix ip6 dst_port copy in make_proxy_line_v2
authorWilliam Dauchy <w.dauchy@criteo.com>
Sun, 26 Jan 2020 18:06:39 +0000 (19:06 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 28 Jan 2020 12:02:58 +0000 (13:02 +0100)
commitbd8bf67102d061f777c3e41db206e86bbae60be7
tree679127c8ec70e3560933ea4580cb698c7f14fd0f
parentc20b37112b74f20431ba8e24a13b6260d7ba0e1d
BUG/MINOR: connection: fix ip6 dst_port copy in make_proxy_line_v2

triggered by coverity; src_port is set earlier.

this should fix github issue #467

Fixes: 7fec02153712 ("MEDIUM: proxy_protocol: Convert IPs to v6 when
protocols are mixed")
This should be backported to 1.8.

Signed-off-by: William Dauchy <w.dauchy@criteo.com>
Reviewed-by: Tim Duesterhus <tim@bastelstu.be>
src/connection.c