summaryrefslogtreecommitdiff
path: root/source4/smb_server/management.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/smb_server/management.c')
-rw-r--r--source4/smb_server/management.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/smb_server/management.c b/source4/smb_server/management.c
index 23680be112..9f22ee94e8 100644
--- a/source4/smb_server/management.c
+++ b/source4/smb_server/management.c
@@ -82,7 +82,7 @@ static NTSTATUS smbsrv_tcon_information(struct irpc_message *msg,
struct smbsrv_tcon_info *info = &r->out.info.tcons.tcons[i];
info->tid = tcon->tid;
info->share_name = lp_servicename(tcon->service);
- info->connect_time = timeval_to_nttime(&tcon->connect_time);
+ info->connect_time = timeval_to_nttime(&tcon->statistics.connect_time);
info->client_ip = socket_get_peer_addr(smb_conn->connection->socket, r);
i++;
}