| Submitter | Amar Tumballi |
|---|---|
| Date | 2010-09-06 18:10:32 |
| Message ID | <20100906181030.GA8176@gluster.com> |
| Download | mbox | patch |
| Permalink | /patch/4608/ |
| State | Accepted |
| Headers | show |
Comments
Patch
diff --git a/glusterfsd/src/glusterfsd-mgmt.c b/glusterfsd/src/glusterfsd-mgmt.c index 2602d54..f409386 100644 --- a/glusterfsd/src/glusterfsd-mgmt.c +++ b/glusterfsd/src/glusterfsd-mgmt.c @@ -318,6 +318,10 @@ glusterfs_mgmt_init (glusterfs_ctx_t *ctx) if (ret) goto out; + ret = dict_set_str (options, "transport-type", "socket"); + if (ret) + goto out; + rpc = rpc_clnt_init (&rpc_cfg, options, THIS->ctx, THIS->name); if (!rpc) { ret = -1;
* it complains about 'transport-type' not being given. fixed. Signed-off-by: Amar Tumballi <amar@gluster.com> --- glusterfsd/src/glusterfsd-mgmt.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)