diff options
author | Volker Lendecke <vl@samba.org> | 2010-08-14 14:52:59 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-08-16 22:39:16 +0200 |
commit | 2f53d1deb7a244e67302425d0f5e82caaa51f027 (patch) | |
tree | 64d69201db50b14755f73e078030eee0d8c8cd43 | |
parent | 7644fbdff9036088a51dfe21b32849c9d9908d16 (diff) | |
download | samba-2f53d1deb7a244e67302425d0f5e82caaa51f027.tar.gz samba-2f53d1deb7a244e67302425d0f5e82caaa51f027.tar.bz2 samba-2f53d1deb7a244e67302425d0f5e82caaa51f027.zip |
s3: Add "sock" to smbd_server_connection
-rw-r--r-- | source3/smbd/globals.h | 1 | ||||
-rw-r--r-- | source3/smbd/server.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/globals.h b/source3/smbd/globals.h index 92a3f7660d..cf23509060 100644 --- a/source3/smbd/globals.h +++ b/source3/smbd/globals.h @@ -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; diff --git a/source3/smbd/server.c b/source3/smbd/server.c index 3c79dc46f9..7b9075338e 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -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; } |