Remove kame cruft
authorMartin Pool <mbp@samba.org>
Mon, 26 Nov 2001 08:21:14 +0000 (08:21 +0000)
committerMartin Pool <mbp@samba.org>
Mon, 26 Nov 2001 08:21:14 +0000 (08:21 +0000)
socket.c

index b97e2378ae1290becffcc5e9906cca9e51e146df..8e895ca8329b7cbf28c644078bdf8be700cadaa4 100644 (file)
--- a/socket.c
+++ b/socket.c
@@ -602,7 +602,7 @@ char *client_name(int fd)
        }
 
 #ifdef INET6
-        if (ss.ss_family == AF_INET6 && 
+        if (ss.sa_family == AF_INET6 && 
            IN6_IS_ADDR_V4MAPPED(&((struct sockaddr_in6 *)&ss)->sin6_addr)) {
                struct sockaddr_in6 sin6;
                struct sockaddr_in *sin;