summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
Diffstat (limited to 'api')
-rw-r--r--api/src/glfs.c1
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;