commit | 3ca149018d9535757283a1f89b5076122780e8d0 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Jul 17 14:53:15 2019 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Jul 19 13:50:09 2019 +0200 |
tree | 7a6607be0694454231e79ba12e8ae6d85ca245ad | |
parent | 9da9a6fdcab3f2c34eaea12bae3bb22341211d4f [diff] |
MINOR: peers: use conn->dst for the peer's target address The target address is duplicated from the peer's configured one. For now we keep the target address as-is but we'll have to dynamically allocate it and place it into the stream instead. Maybe a sockaddr_dup() will help by the way. The "show peers" part is safe as it's already called after checking the addresses' validity.