commit | 59b947966738f2769cd572a21650cbad0b9d58d6 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri May 11 16:16:40 2012 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri May 11 16:48:10 2012 +0200 |
tree | 39586ed2f5c6cb7d2041bd630a53da4d6077d356 | |
parent | 1539a01645cc9c1d7b70dec559f5bafe6ca25012 [diff] |
BUG/MEDIUM: stream_interface: restore get_src/get_dst Commit e164e7a removed get_src/get_dst setting in the stream interfaces but forgot to set it in proto_tcp. Get the feature back because we need it for logging, transparent mode, ACLs etc... We now rely on the stream interface direction to know what syscall to use. One benefit of doing it this way is that we don't use getsockopt() anymore on outgoing stream interfaces nor on UNIX sockets.