maskit commented on code in PR #12761:
URL: https://github.com/apache/trafficserver/pull/12761#discussion_r2632947548
##########
src/iocore/net/SSLDiags.cc:
##########
@@ -164,7 +164,7 @@ SSLDiagnostic(const SourceLocation &loc, bool debug,
SSLNetVConnection *vc, cons
ip_text_buffer ip_buf = {'\0'};
if (vc) {
- ats_ip_ntop(vc->get_remote_addr(), ip_buf, sizeof(ip_buf));
+ ats_ip_ntop(vc->get_client_addr(), ip_buf, sizeof(ip_buf));
Review Comment:
Same as above. The name doesn't make sense on origin connections.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]