s3: Add set_socket_options to cli_connect_sock()
authorVolker Lendecke <vl@samba.org>
Sun, 29 May 2011 11:40:03 +0000 (13:40 +0200)
committerVolker Lendecke <vlendec@samba.org>
Sun, 29 May 2011 13:47:17 +0000 (15:47 +0200)
A leftover of stuff that cli_connect() does

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun May 29 15:47:17 CEST 2011 on sn-devel-104

source3/libsmb/cliconnect.c

index d4f9f31667f29c70cd7d637d8ee3a1064b3d4b26..5f6488d81b86dc4cc08cb29dbd4023e480e67259 100644 (file)
@@ -3154,6 +3154,7 @@ static NTSTATUS cli_connect_sock(const char *host, int name_type,
        if (!NT_STATUS_IS_OK(status)) {
                goto fail;
        }
+       set_socket_options(fd, lp_socket_options());
 done:
        *pfd = fd;
        *pport = port;