summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/process.c b/source3/smbd/process.c
index 2ccb7d6a7c..6beed4fb3f 100644
--- a/source3/smbd/process.c
+++ b/source3/smbd/process.c
@@ -2904,7 +2904,7 @@ static NTSTATUS smbd_register_ips(struct smbd_server_connection *sconn,
return NT_STATUS_NO_MEMORY;
}
- client_socket_addr(sconn->sock, addr, sizeof(addr));
+ client_socket_addr(sconn->sock, tmp_addr, sizeof(tmp_addr));
addr = talloc_strdup(cconn, tmp_addr);
if (addr == NULL) {
return NT_STATUS_NO_MEMORY;