summaryrefslogtreecommitdiff
path: root/source4/smb_server/connection.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/smb_server/connection.c')
-rw-r--r--source4/smb_server/connection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/smb_server/connection.c b/source4/smb_server/connection.c
index 389cf3c6dc..8b984754ba 100644
--- a/source4/smb_server/connection.c
+++ b/source4/smb_server/connection.c
@@ -166,7 +166,7 @@ BOOL claim_connection(struct tcon_context *conn, const char *name,int max_connec
crec.bcast_msg_flags = msg_flags;
StrnCpy(crec.machine,sub_get_remote_machine(),sizeof(crec.machine)-1);
- StrnCpy(crec.addr,conn?conn->smb->socket.client_addr:"NONE",sizeof(crec.addr)-1);
+ StrnCpy(crec.addr,conn?conn->smb_ctx->socket.client_addr:"NONE",sizeof(crec.addr)-1);
dbuf.dptr = (char *)&crec;
dbuf.dsize = sizeof(crec);