mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
s3: Add "sock" to smbd_server_connection
This commit is contained in:
parent
7644fbdff9
commit
2f53d1deb7
@ -457,6 +457,7 @@ struct smbd_smb2_tcon {
|
||||
struct pending_auth_data;
|
||||
|
||||
struct smbd_server_connection {
|
||||
int sock;
|
||||
const struct tsocket_address *local_address;
|
||||
const struct tsocket_address *remote_address;
|
||||
struct messaging_context *msg_ctx;
|
||||
|
@ -59,6 +59,7 @@ int smbd_server_fd(void)
|
||||
|
||||
static void smbd_set_server_fd(int fd)
|
||||
{
|
||||
smbd_server_conn->sock = fd;
|
||||
server_fd = fd;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user