diff options
Diffstat (limited to 'cli')
| -rw-r--r-- | cli/src/cli.c | 4 | 
1 files changed, 3 insertions, 1 deletions
diff --git a/cli/src/cli.c b/cli/src/cli.c index 25fe58568a5..574ee0eea33 100644 --- a/cli/src/cli.c +++ b/cli/src/cli.c @@ -613,6 +613,7 @@ cli_rpc_init (struct cli_state *state)          int                     ret = -1;          int                     port = CLI_GLUSTERD_PORT;          xlator_t                *this = NULL; +        char                    *addr_family = "inet";          this = THIS;          cli_rpc_prog = &cli_prog; @@ -648,7 +649,8 @@ cli_rpc_init (struct cli_state *state)                          goto out;                  ret = dict_set_str (options, "transport.address-family", -                                    "inet"); +                                        addr_family); +                  if (ret)                          goto out;          }  | 
