summaryrefslogtreecommitdiffstats
path: root/rpc/rpc-lib/src/rpc-transport.c
diff options
context:
space:
mode:
authorKaushal M <kaushal@redhat.com>2017-05-04 12:15:09 +0530
committerPranith Kumar Karampuri <pkarampu@redhat.com>2017-05-05 11:39:28 +0000
commitde80a9153e3b681d8b83aa6164c94e2829b9cf49 (patch)
treec811c06876f415991b63c5b3b6388e3bfb3a2528 /rpc/rpc-lib/src/rpc-transport.c
parent93ecfcddbfc6bdc77a720f55dbd51fc256961d68 (diff)
rpc: Remove accidental IPV6 changes
They snuck in with the HALO patch (07cc8679c) Change-Id: I8ced6cbb0b49554fc9d348c453d4d5da00f981f6 BUG: 1447953 Signed-off-by: Kaushal M <kaushal@redhat.com> Reviewed-on: https://review.gluster.org/17174 Smoke: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Niels de Vos <ndevos@redhat.com> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Amar Tumballi <amarts@redhat.com>
Diffstat (limited to 'rpc/rpc-lib/src/rpc-transport.c')
-rw-r--r--rpc/rpc-lib/src/rpc-transport.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/rpc/rpc-lib/src/rpc-transport.c b/rpc/rpc-lib/src/rpc-transport.c
index 4c3d5279fe1..fc26f462c31 100644
--- a/rpc/rpc-lib/src/rpc-transport.c
+++ b/rpc/rpc-lib/src/rpc-transport.c
@@ -656,11 +656,7 @@ rpc_transport_inet_options_build (dict_t **options, const char *hostname,
dict_t *dict = NULL;
char *host = NULL;
int ret = -1;
-#ifdef IPV6_DEFAULT
- char *addr_family = "inet6";
-#else
char *addr_family = "inet";
-#endif
GF_ASSERT (options);
GF_ASSERT (hostname);