From: Günther Deschner Date: Tue, 27 May 2008 09:40:50 +0000 (+0200) Subject: dsgetdcname: use family (instead of sa_family). X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=bcf721770d2a76df85737596d6b73e9e6d982c32;p=samba.git dsgetdcname: use family (instead of sa_family). Guenther (cherry picked from commit 355fb81e9e42e507717f33a11793258db9169199) --- diff --git a/source/libsmb/dsgetdcname.c b/source/libsmb/dsgetdcname.c index d57689cd483..48e497b74c3 100644 --- a/source/libsmb/dsgetdcname.c +++ b/source/libsmb/dsgetdcname.c @@ -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) {