Because of the change over to IPv6 in the internals, ports are stored 
differently. Let me take a look ...

Yeah, that's a bug introduced by the change. A quick fix is to change 
InkAPI.cc:6196 from

return (TSAction)netProcessor.connect_re(i, ip, port);

to

return (TSAction)netProcessor.connect_re(i, addr);

I'll file a bug and fix it and we can decide if we want to backport to 3.1.0.

Tuesday, August 23, 2011, 10:09:31 AM, you wrote:

> Hi,

> The trunk code version of TSNetConnect now seems to take a host byte ordered
> port number. Previously (i.e. 3.0.0) took the network byte order. I.e. I now
> have to use the ntohs function on the port number.

> Is this by design?

> Thank-you,

> Chris Reynolds.

Reply via email to