From: Petr Salinger Date: Fri, 18 Jul 2014 23:14:43 +0000 (+0200) Subject: Use sockaddr_in6 instead of sockaddr6_in X-Git-Tag: upstream/1.9.6^2~20^2 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=18c94b4633c6157c3e75890c15ea51b73e7bf876;p=deb_libnfs.git Use sockaddr_in6 instead of sockaddr6_in --- diff --git a/lib/socket.c b/lib/socket.c index f973f01..3f7f89f 100644 --- a/lib/socket.c +++ b/lib/socket.c @@ -506,7 +506,7 @@ static int rpc_connect_sockaddr_async(struct rpc_context *rpc, struct sockaddr_s ((struct sockaddr_in6 *)&ss)->sin6_port = port; ((struct sockaddr_in6 *)&ss)->sin6_family = AF_INET6; #ifdef HAVE_SOCKADDR_LEN - ((struct sockaddr_in6 *)&ss)->sin6_len = sizeof(struct sockaddr6_in); + ((struct sockaddr_in6 *)&ss)->sin6_len = sizeof(struct sockaddr_in6); #endif break; }