maskit commented on code in PR #12761:
URL: https://github.com/apache/trafficserver/pull/12761#discussion_r2632936111


##########
src/iocore/net/SSLClientUtils.cc:
##########
@@ -81,7 +81,7 @@ verify_callback(int signature_ok, X509_STORE_CTX *ctx)
       Dbg(dbg_ctl_ssl_verify, "verification error:num=%d:%s:depth=%d", err, 
X509_verify_cert_error_string(err), depth);
       const char *sni_name;
       char        buff[INET6_ADDRSTRLEN];
-      ats_ip_ntop(netvc->get_remote_addr(), buff, INET6_ADDRSTRLEN);
+      ats_ip_ntop(netvc->get_client_addr(), buff, INET6_ADDRSTRLEN);

Review Comment:
   Looks like this function is for origin connections. If so, remote_addr means 
origin's address, and client_addr means ATS's address.



-- 
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]

Reply via email to