mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-10-14 02:22:03 +08:00
store the time a client connected.
This commit is contained in:
@@ -936,6 +936,7 @@ fork_failed:
|
||||
ctmp->remote_addr_len = ws.remote_addr_len;
|
||||
|
||||
ctmp->pid = pid;
|
||||
ctmp->conn_time = time(0);
|
||||
ctmp->fd = cmd_fd[0];
|
||||
set_cloexec_flag (cmd_fd[0], 1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user