summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-05-27 11:40:50 +0200
committerGünther Deschner <gd@samba.org>2008-05-27 11:40:50 +0200
commitc73cc63e9204c8ffcca06aea1073862eba42e701 (patch)
treebccbb31e0511cbc06eb3166c4ecd59c054af3abe /source3/libsmb
parent861bb16dba627e0c76b6bc1e85041399b7575fd9 (diff)
downloadsamba-c73cc63e9204c8ffcca06aea1073862eba42e701.tar.gz
samba-c73cc63e9204c8ffcca06aea1073862eba42e701.tar.bz2
samba-c73cc63e9204c8ffcca06aea1073862eba42e701.zip
dsgetdcname: use family (instead of sa_family).
Guenther (This used to be commit 355fb81e9e42e507717f33a11793258db9169199)
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/dsgetdcname.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/dsgetdcname.c b/source3/libsmb/dsgetdcname.c
index be38db1a3a..8d75593ddc 100644
--- a/source3/libsmb/dsgetdcname.c
+++ b/source3/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) {