summaryrefslogtreecommitdiffstats
path: root/cli
diff options
context:
space:
mode:
authorshishir gowda <shishirng@gluster.com>2010-08-19 07:22:15 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-08-19 09:50:23 -0700
commit82cea5108995d3ce21cd6489edd6161e9b6568aa (patch)
treeffee0b7329118cf97f3cfd8f549bd1b6673e2ee7 /cli
parent074f03afb246eb56ad55355bd775adc16488baa9 (diff)
Probe should not probe for existing friend
Signed-off-by: shishir gowda <shishirng@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 1331 () URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1331
Diffstat (limited to 'cli')
-rw-r--r--cli/src/cli3_1-cops.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/cli/src/cli3_1-cops.c b/cli/src/cli3_1-cops.c
index 53f714c2054..1bb70689e00 100644
--- a/cli/src/cli3_1-cops.c
+++ b/cli/src/cli3_1-cops.c
@@ -76,6 +76,10 @@ gf_cli3_1_probe_cbk (struct rpc_req *req, struct iovec *iov,
case GF_PROBE_LOCALHOST:
cli_out ("Probe on localhost not needed");
break;
+ case GF_PROBE_FRIEND:
+ cli_out ("Probe on host %s port %d already"
+ " a friend",rsp.hostname, rsp.port);
+ break;
default:
cli_out ("Probe returned with unknown errno %d",
rsp.op_errno);