1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

s3: Add "sock" to smbd_server_connection

This commit is contained in:
Volker Lendecke 2010-08-14 14:52:59 +02:00
parent 7644fbdff9
commit 2f53d1deb7
2 changed files with 2 additions and 0 deletions

View File

@ -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;

View File

@ -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;
}