summaryrefslogtreecommitdiffstats
path: root/cli
diff options
context:
space:
mode:
Diffstat (limited to 'cli')
-rw-r--r--cli/src/cli3_1-cops.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/cli/src/cli3_1-cops.c b/cli/src/cli3_1-cops.c
index b409a87104b..8255f8184cd 100644
--- a/cli/src/cli3_1-cops.c
+++ b/cli/src/cli3_1-cops.c
@@ -499,8 +499,10 @@ gf_cli3_1_get_volume_cbk (struct rpc_req *req, struct iovec *iov,
else
cli_out ("Number of Bricks: %d", brick_count);
- cli_out ("Transport-type: %s", ((transport == 0)?
- "tcp" : "rdma"));
+ cli_out ("Transport-type: %s",
+ ((transport == 0)?"tcp":
+ (transport == 1)?"rdma":
+ "tcp,rdma"));
j = 1;