From de80a9153e3b681d8b83aa6164c94e2829b9cf49 Mon Sep 17 00:00:00 2001 From: Kaushal M Date: Thu, 4 May 2017 12:15:09 +0530 Subject: rpc: Remove accidental IPV6 changes They snuck in with the HALO patch (07cc8679c) Change-Id: I8ced6cbb0b49554fc9d348c453d4d5da00f981f6 BUG: 1447953 Signed-off-by: Kaushal M Reviewed-on: https://review.gluster.org/17174 Smoke: Gluster Build System Reviewed-by: Niels de Vos NetBSD-regression: NetBSD Build System CentOS-regression: Gluster Build System Reviewed-by: Amar Tumballi --- rpc/rpc-lib/src/rpc-transport.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'rpc/rpc-lib/src/rpc-transport.c') 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); -- cgit