Re: [Openvpn-devel] [PATCH 2/4] Merge getaddr_multi and getaddr6 into one function

2012-08-06 Thread Gert Doering
Hi, On Mon, Aug 06, 2012 at 07:39:38PM +0200, Gert Doering wrote: > Mon Aug 6 19:49:06 2012 Attempting to establish TCP connection with > [AF_INET6]2607:fc50:1001:5200:::51194 [nonblock] > > This is buggy already, because "conn-test-server" is "2607:fc50:1001:5200::4", > and the ":4" got lost..

Re: [Openvpn-devel] [PATCH 2/4] Merge getaddr_multi and getaddr6 into one function

2012-08-06 Thread Gert Doering
Hi, On Wed, Aug 01, 2012 at 06:11:08PM +0200, Arne Schwabe wrote: > the getaddr6 and getaddr_mutli functions are duplicates of each other. Since > we always require getaddrinfo to be present both function are merge into one > openvpn_getaddrinfo. > > This functions also returns a standard struc

[Openvpn-devel] [PATCH 2/4] Merge getaddr_multi and getaddr6 into one function

2012-08-01 Thread Arne Schwabe
the getaddr6 and getaddr_mutli functions are duplicates of each other. Since we always require getaddrinfo to be present both function are merge into one openvpn_getaddrinfo. This functions also returns a standard struct addrinfo* so our resolve interface is closer to the standard unix interfac