From 869df6de6429bd556215a2a555883cabaa4dca80 Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Sat, 21 Feb 2009 13:50:01 -0800 Subject: 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 --- glusterfsd/src/fetch-spec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'glusterfsd') diff --git a/glusterfsd/src/fetch-spec.c b/glusterfsd/src/fetch-spec.c index 4009a55b3b9..cd3c2d69168 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); -- cgit