提交 2be4d867 编写于 作者: D Daniel P. Berrange

Fix remote socket path for SSH tunnel connections

上级 c0b64e9d
Thu Jun 18 14:56:24 BST 2009 Daniel P. Berrange <berrange@redhat.com>
* src/remote_internal.c: Fix socket path for remote SSH
tunnels to honour read-only flag
Wed Jun 17 10:31:35 CEST 2009 Daniel Veillard <veillard@redhat.com>
* src/node_device.[ch] src/storage_backend.[ch]: fixes a
......
......@@ -722,7 +722,10 @@ doRemoteOpen (virConnectPtr conn,
cmd_argv[j++] = strdup (priv->hostname);
cmd_argv[j++] = strdup (netcat ? netcat : "nc");
cmd_argv[j++] = strdup ("-U");
cmd_argv[j++] = strdup (sockname ? sockname : LIBVIRTD_PRIV_UNIX_SOCKET);
cmd_argv[j++] = strdup (sockname ? sockname :
(flags & VIR_CONNECT_RO
? LIBVIRTD_PRIV_UNIX_SOCKET_RO
: LIBVIRTD_PRIV_UNIX_SOCKET));
cmd_argv[j++] = 0;
assert (j == nr_args);
for (j = 0; j < (nr_args-1); j++)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册