From 3e34ad9388e3cf2493f3d75a760e6943f59dc55c Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Tue, 20 Jul 2010 02:40:58 +0000 Subject: add port as an optional argument to 'probe' command * there will be just 'one' glusterd per machine, but in case if its run on different port, then this option is useful to probe. Signed-off-by: Amar Tumballi Signed-off-by: Anand V. Avati BUG: 1074 (port related issues in 'gluster probe' command) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1074 --- rpc/xdr/src/cli1-xdr.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'rpc/xdr/src/cli1-xdr.h') diff --git a/rpc/xdr/src/cli1-xdr.h b/rpc/xdr/src/cli1-xdr.h index b2060e187..50a26760a 100644 --- a/rpc/xdr/src/cli1-xdr.h +++ b/rpc/xdr/src/cli1-xdr.h @@ -43,6 +43,7 @@ typedef enum gf1_cli_get_volume gf1_cli_get_volume; struct gf1_cli_probe_req { char *hostname; + int port; }; typedef struct gf1_cli_probe_req gf1_cli_probe_req; @@ -50,11 +51,13 @@ struct gf1_cli_probe_rsp { int op_ret; int op_errno; char *hostname; + int port; }; typedef struct gf1_cli_probe_rsp gf1_cli_probe_rsp; struct gf1_cli_deprobe_req { char *hostname; + int port; }; typedef struct gf1_cli_deprobe_req gf1_cli_deprobe_req; -- cgit