bneradt commented on code in PR #10189:
URL: https://github.com/apache/trafficserver/pull/10189#discussion_r1296116920


##########
proxy/http/HttpTransact.cc:
##########
@@ -1963,7 +1963,7 @@ HttpTransact::OSDNSLookup(State *s)
 
   char addrbuf[INET6_ADDRSTRLEN];
   TxnDebug("http_trans", "DNS lookup for O.S. successful IP: %s",
-           ats_ip_ntop(&s->server_info.dst_addr.sa, addrbuf, sizeof(addrbuf)));
+           ats_ip_nptop(&s->server_info.dst_addr.sa, addrbuf, 
sizeof(addrbuf)));

Review Comment:
   Good catch. Looks like `ip_port_text_buffer` is a type we've created for 
this. I'll use that and update the other places in here to use ats_ip_nptop as 
well...the extra port information can be helpful.



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