summaryrefslogtreecommitdiffstats
path: root/cli/src/cli.c
diff options
context:
space:
mode:
Diffstat (limited to 'cli/src/cli.c')
-rw-r--r--cli/src/cli.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/cli/src/cli.c b/cli/src/cli.c
index ba2ac43d7f3..574ee0eea33 100644
--- a/cli/src/cli.c
+++ b/cli/src/cli.c
@@ -613,11 +613,7 @@ cli_rpc_init (struct cli_state *state)
int ret = -1;
int port = CLI_GLUSTERD_PORT;
xlator_t *this = NULL;
-#ifdef IPV6_DEFAULT
- char *addr_family = "inet6";
-#else
char *addr_family = "inet";
-#endif
this = THIS;
cli_rpc_prog = &cli_prog;