dsgetdcname: use family (instead of sa_family).
authorGünther Deschner <gd@samba.org>
Tue, 27 May 2008 09:40:50 +0000 (11:40 +0200)
committerGünther Deschner <gd@samba.org>
Tue, 27 May 2008 09:51:17 +0000 (11:51 +0200)
Guenther
(cherry picked from commit 355fb81e9e42e507717f33a11793258db9169199)

source/libsmb/dsgetdcname.c

index d57689cd4834a6262610622a75fa3769c39ba214..48e497b74c3f47fed15863777af03118981d632b 100644 (file)
@@ -205,7 +205,7 @@ static NTSTATUS map_logon29_from_cldap_reply(TALLOC_CTX *mem_ctx,
 
        /* FIXME */
        p->dc_sock_addr_size = 0x10; /* the w32 winsock addr size */
-       p->dc_sock_addr.sa_family = 2; /* AF_INET */
+       p->dc_sock_addr.family = 2; /* AF_INET */
        p->dc_sock_addr.pdc_ip = talloc_strdup(mem_ctx, addr);
 
        switch (nt_version & 0x0000001f) {