[ 
https://issues.apache.org/jira/browse/TS-986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13627964#comment-13627964
 ] 

Leif Hedstrom commented on TS-986:
----------------------------------

So, looking at this a little bit closer, it seems the clustering code is IPv4 
only. E.g.
{code}
  typedef int TSNodeHandle_t;
{code}

and

{code}
#define NODE_HANDLE_TO_IP(h) (*((struct in_addr *) &((h))))
{code}

                
> 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
>            Assignee: Leif Hedstrom
>             Fix For: 3.3.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
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to