summaryrefslogtreecommitdiffstats
path: root/glusterfsd
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2009-02-21 13:50:01 -0800
committerAnand V. Avati <avati@amp.gluster.com>2009-02-22 03:37:49 +0530
commit869df6de6429bd556215a2a555883cabaa4dca80 (patch)
tree8c835d30a1458ba750080339a3b12a480e85d71b /glusterfsd
parenta7b514ab8ec879a67e5a290743b4be6f0b58de1d (diff)
change to make round robin dns work for getspec()
Noticed that if I have just 'socket' and not the address-family, the round robin dns for '-s' option doesn't work. Changing it to 'tcp' works. Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'glusterfsd')
-rw-r--r--glusterfsd/src/fetch-spec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/glusterfsd/src/fetch-spec.c b/glusterfsd/src/fetch-spec.c
index 4009a55..cd3c2d6 100644
--- a/glusterfsd/src/fetch-spec.c
+++ b/glusterfsd/src/fetch-spec.c
@@ -249,7 +249,7 @@ fetch_spec (glusterfs_ctx_t *ctx)
remote_host = ctx->cmd_args.volfile_server;
transport = ctx->cmd_args.volfile_server_transport;
if (!transport)
- transport = "socket";
+ transport = "tcp";
ret = _fork_and_fetch (ctx, spec_fp, remote_host, transport,
ctx->cmd_args.volfile_server_port);