From 3dc56cbd16b1074d7ca1a4fe4c5bf44400eb63ff Mon Sep 17 00:00:00 2001 From: Emmanuel Dreyfus Date: Sun, 13 May 2012 07:43:32 +0200 Subject: Use inet as default listener This patch was proposed by Anand Babu Periasamy on gluster-devel@ It fixes the inet/inet6 mismatch between client/glusterfsd/glusterd at mine BUG: 764655 Change-Id: I172570aa58ea08c4c74cfd28f121d3d4e02a55e0 Signed-off-by: Emmanuel Dreyfus Reviewed-on: http://review.gluster.com/3319 Tested-by: Gluster Build System Tested-by: Anand Babu Periasamy Reviewed-by: Anand Babu Periasamy --- rpc/rpc-lib/src/rpc-transport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rpc/rpc-lib') diff --git a/rpc/rpc-lib/src/rpc-transport.c b/rpc/rpc-lib/src/rpc-transport.c index e07bf0d76..8da898b61 100644 --- a/rpc/rpc-lib/src/rpc-transport.c +++ b/rpc/rpc-lib/src/rpc-transport.c @@ -585,7 +585,7 @@ rpc_transport_inet_options_build (dict_t **options, const char *hostname, "failed to set remote-port with %d", port); goto out; } - ret = dict_set_str (dict, "transport.address-family", "inet/inet6"); + ret = dict_set_str (dict, "transport.address-family", "inet"); if (ret) { gf_log (THIS->name, GF_LOG_WARNING, "failed to set addr-family with inet"); -- cgit