commit | 8dfffdb0602353c9eeecec13f24f65f8b189ba66 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Jul 17 11:44:11 2019 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Jul 19 13:50:09 2019 +0200 |
tree | 4bf84646560ce60caa84defdd7012ccdf52913ee | |
parent | 7bb447c3ddcc3f5cd5d117d4cd3f79f334ff6730 [diff] |
MINOR: stream/cli: use conn_get_{src,dst} in "show sess" and "show peers" output The stream outputs requires to retrieve connections sources and destinations. The previous call involving conn_get_{to,from}_addr() was missing a status check which has now been integrated with the new call since these places already handle connection errors there. The same code parts were reused for "show peers" and were modified similarly.