diff options
author | Anand Avati <avati@redhat.com> | 2012-07-25 23:33:33 -0700 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2012-08-02 13:21:18 -0700 |
commit | a9e3e24dd3c1afe7cb573b653040478a0f1210e6 (patch) | |
tree | ac27117e381785e09b4e490a97591021fc3ada80 /api/src/glfs.c | |
parent | e7897b80ba38066af2dc306b98c466e9cfe87e81 (diff) |
gfapi: missed setting port option
Change-Id: I72790de10cefaae3d3307b6fbb9899907b019ccc
BUG: 839950
Signed-off-by: Anand Avati <avati@redhat.com>
Reviewed-on: http://review.gluster.com/3733
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Amar Tumballi <amarts@redhat.com>
Reviewed-by: Bharata B Rao <bharata.rao@gmail.com>
Diffstat (limited to 'api/src/glfs.c')
-rw-r--r-- | api/src/glfs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/api/src/glfs.c b/api/src/glfs.c index e81ae56b0..af2378f77 100644 --- a/api/src/glfs.c +++ b/api/src/glfs.c @@ -427,6 +427,7 @@ glfs_set_volfile_server (struct glfs *fs, const char *transport, cmd_args->volfile_server = gf_strdup (host); cmd_args->volfile_server_transport = gf_strdup (transport); + cmd_args->volfile_server_port = port; cmd_args->max_connect_attempts = 2; return 0; |