commit | 5dc1e98905154d883dd1d5d357183f37ce202a7e | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Dec 16 21:25:11 2011 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Fri Dec 30 17:33:24 2011 +0100 |
tree | b340637feb2e2c811253c6b91bd4a1e10db7ebaf | |
parent | 5e205524ad24003ecc4dbb435066aebe7ed58d95 [diff] |
BUG: proto_tcp: don't try to bind to a foreign address if sin_family is unknown This is 1.5-specific. It causes issues with transparent source binding involving hdr_ip. We must not try to bind() to a foreign address when the family is not set, and we must set the family when an address is set.