summaryrefslogtreecommitdiffstats
path: root/rpc/rpc-lib
diff options
context:
space:
mode:
authorEmmanuel Dreyfus <manu@netbsd.org>2012-06-15 09:47:29 +0200
committerAnand Avati <avati@redhat.com>2012-07-13 14:09:14 -0700
commit1d1639019284f9baaee9d8f4b7d617c6edb52eec (patch)
tree4d56b5804e4c9d3b8ab8208d25e4b2585aa53f5d /rpc/rpc-lib
parent74d7d2d53c539c822cf7b6da44a515f1e326c5bc (diff)
Use inet as default listene
This is backport of Change-Id: I172570aa58ea08c4c74cfd28f121d3d4e02a55e0 BUG: 764655 Change-Id: I60232b73c303d296e34871ed317925c9af0d322e Signed-off-by: Emmanuel Dreyfus <manu@netbsd.org> Reviewed-on: http://review.gluster.com/3575 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'rpc/rpc-lib')
-rw-r--r--rpc/rpc-lib/src/rpc-transport.c2
1 files changed, 1 insertions, 1 deletions
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");