s3:libsmb: pass an optional const struct sockaddr_storage *dest_ss to cli_cm_open()
[metze/samba/wip.git] / source3 / lib / netapi / cm.c
index 95132f28f05c64a82166a86371c75ce6cb3ba85e..c9d9b9bfac5f6a01db103ead0c59493c96544caf 100644 (file)
@@ -108,7 +108,7 @@ static WERROR libnetapi_open_ipc_connection(struct libnetapi_ctx *ctx,
        }
 
        status = cli_cm_open(ctx, NULL,
-                            server_name, "IPC$",
+                            server_name, NULL, "IPC$",
                             auth_info,
                             false,
                             lp_client_ipc_max_protocol(),