[ https://issues.apache.org/jira/browse/TS-986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13131875#comment-13131875 ]
Alan M. Carroll commented on TS-986: ------------------------------------ It should be a sockaddr*, not in_addr. Also, if we want to fix this, we should just put a declaration in name only at the top, e.g. "struct sockaddr;" OTOH I don't see how we will eliminate dependency on netinet/net.h for something that deals heavily with IP addresses. > ts/experimental has a dependency on netinet/net.h (for struct in_addr) > ---------------------------------------------------------------------- > > Key: TS-986 > URL: https://issues.apache.org/jira/browse/TS-986 > Project: Traffic Server > Issue Type: Improvement > Components: TS API > Reporter: Leif Hedstrom > Fix For: 3.1.2 > > > Alan seems to indicate this is wrong anyways, but just adding this bug so we > remember it's probably a bad idea. The offending API is > tsapi int TSNodeHandleToIPAddr(TSNodeHandle_t *h, struct in_addr *in); -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira