[ 
https://issues.apache.org/jira/browse/TS-982?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alan M. Carroll resolved TS-982.
--------------------------------

    Resolution: Fixed

Changed to use ink_inet_ip4_set which handles the issue. However, checking the 
original code it looks like the API expects host order input. I added comments 
to the header to make this clear.

r1197187
                
> TSHttpTxnClientAddrGet provides malformed sockaddr_in
> -----------------------------------------------------
>
>                 Key: TS-982
>                 URL: https://issues.apache.org/jira/browse/TS-982
>             Project: Traffic Server
>          Issue Type: Bug
>    Affects Versions: 3.0.1
>            Reporter: William Bardwell
>            Assignee: Alan M. Carroll
>            Priority: Minor
>             Fix For: 3.1.1
>
>
> It looks like PluginVCCore::set_passive_addr() and set_active_addr() never 
> set the address family.  And the address and port look like they are getting 
> byte swapped.

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

        

Reply via email to