summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xlators/nfs/server/src/acl3.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/xlators/nfs/server/src/acl3.c b/xlators/nfs/server/src/acl3.c
index 3745188..7e3bbf1 100644
--- a/xlators/nfs/server/src/acl3.c
+++ b/xlators/nfs/server/src/acl3.c
@@ -753,8 +753,7 @@ acl3svc_init(xlator_t *nfsx)
goto err;
}
- ret = dict_set_dynstr(options, "transport.socket.listen-port",
- GF_ACL3_PORT);
+ ret = dict_set_str(options, "transport.socket.listen-port", GF_ACL3_PORT);
if (ret == -1)
goto err;
ret = dict_set_str(options, "transport-type", "socket");