]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[BUG] proto_tcp: fix address binding on remote source
authorWilly Tarreau <w@1wt.eu>
Tue, 19 Apr 2011 05:20:57 +0000 (07:20 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 19 Apr 2011 05:20:57 +0000 (07:20 +0200)
commit96dd079b49a4144516c0fdbbc11fbf4d37f39c3c
tree47546731c932e8d4ebb1259e84ca9ab29ce50b9a
parent787aed50788c75dde5fe2daa90b53dbc092ce424
[BUG] proto_tcp: fix address binding on remote source

Mark Brooks reported that commit 1b4b7c broke tproxy in 1.5-dev6. Nick
Chalk tracked the issue down to a missing address family setting in
tcp_bind_socket() which resulted in a failure to use get_addr_len().
This issue is 1.5-specific.
src/proto_tcp.c