SolidWallOfCode commented on code in PR #10189:
URL: https://github.com/apache/trafficserver/pull/10189#discussion_r1295322711
##########
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:
If you're making this change, you also need to change the buffer to
`INET6_ADDRPORTLEN`.
--
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]