summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-07-22 11:24:45 +0200
committerStefan Metzmacher <metze@samba.org>2011-07-22 17:06:08 +0200
commit7f0b4eed3b85fd061351078e464586460745f225 (patch)
tree519fd65e6bce145b064128e1ba948613475e31ad
parentacf4b84cbf55dc3899a5005e73c1f55fbf8e5347 (diff)
downloadsamba-7f0b4eed3b85fd061351078e464586460745f225.tar.gz
samba-7f0b4eed3b85fd061351078e464586460745f225.tar.bz2
samba-7f0b4eed3b85fd061351078e464586460745f225.zip
s3:libsmb: use cli_state_remote_sockaddr() in smb2cli_tcon_send()
metze
-rw-r--r--source3/libsmb/smb2cli_tcon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/smb2cli_tcon.c b/source3/libsmb/smb2cli_tcon.c
index eca2617998..705f8fc99c 100644
--- a/source3/libsmb/smb2cli_tcon.c
+++ b/source3/libsmb/smb2cli_tcon.c
@@ -51,7 +51,7 @@ struct tevent_req *smb2cli_tcon_send(TALLOC_CTX *mem_ctx,
}
state->cli = cli;
- print_sockaddr(srv_ip, sizeof(srv_ip), &cli->dest_ss);
+ print_sockaddr(srv_ip, sizeof(srv_ip), cli_state_remote_sockaddr(cli));
tcon_share = talloc_asprintf(talloc_tos(), "\\\\%s\\%s",
srv_ip, share);