Am 10.01.14 15:03, schrieb Tore Anderson: > * Arne Schwabe > >> That is very weird. I would expect it to fail for both cases in the same >> way. The codepath should trigger the same ASSERT(0) in both cases (or >> work in both). Can you forward a copy of your server configuration to >> me? Then I will try to reproduce that problem. > Can you try the following one line patch? I will do a better cleanup patch later but this should fix the problem
diff --git a/src/openvpn/socket.c b/src/openvpn/socket.c index 100eedd..b362b2c 100644 --- a/src/openvpn/socket.c +++ b/src/openvpn/socket.c @@ -2828,7 +2828,7 @@ link_socket_write_udp_posix_sendmsg (struct link_socket *s iov.iov_len = BLEN (buf); mesg.msg_iov = &iov; mesg.msg_iovlen = 1; - switch (to->ai_family) + switch (to->dest.addr.sa.sa_family) { case AF_INET: {