From 95cd42ebda087343ecb7267fa1fd5ac129c756e1 Mon Sep 17 00:00:00 2001 From: Kaushal M Date: Sat, 16 Apr 2016 07:46:40 +0530 Subject: Revert "glusterd: Bug fixes for IPv6 support" This reverts commit b33f3c95ec9c8112e6677e09cea05c4c462040d0. This commit exposes some issues with management encryption that prevents GlusterFS from operating properly. This will be added again once problems with management encryption are fixed. --- rpc/rpc-lib/src/rpc-transport.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'rpc/rpc-lib') diff --git a/rpc/rpc-lib/src/rpc-transport.c b/rpc/rpc-lib/src/rpc-transport.c index 432bf469934..0904dbee716 100644 --- a/rpc/rpc-lib/src/rpc-transport.c +++ b/rpc/rpc-lib/src/rpc-transport.c @@ -692,6 +692,12 @@ 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"); + if (ret) { + gf_log (THIS->name, GF_LOG_WARNING, + "failed to set addr-family with inet"); + goto out; + } ret = dict_set_str (dict, "transport-type", "socket"); if (ret) { -- cgit