summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorShehjar Tikoo <shehjart@gluster.com>2011-09-05 16:19:48 +0530
committerVijay Bellur <vijay@gluster.com>2011-09-12 06:26:00 -0700
commitf66089e5d749cf15b8c7d6a46f75655a360d848e (patch)
tree9509b91283ea984975182cbd924407b91c19f8d2 /xlators
parent709c954c5a74a2ee3e437e26b0872152cc82220b (diff)
nfs-rpc: Use correct variable for volume-specific insecure ports check
Change-Id: Ia53f64e923babdd3af2d82b13350c97fa25fac2d BUG: 3515 Reviewed-on: http://review.gluster.com/356 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Shehjar Tikoo <shehjart@gluster.com>
Diffstat (limited to 'xlators')
-rw-r--r--xlators/nfs/lib/src/rpcsvc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/nfs/lib/src/rpcsvc.c b/xlators/nfs/lib/src/rpcsvc.c
index 96dd22a3d37..38caca316b3 100644
--- a/xlators/nfs/lib/src/rpcsvc.c
+++ b/xlators/nfs/lib/src/rpcsvc.c
@@ -984,7 +984,7 @@ nfs_rpcsvc_conn_privport_check (rpcsvc_t *svc, char *volname,
if (dict_get (svc->options, srchstr)) {
ret = dict_get_str (svc->options, srchstr, &valstr);
if (ret == 0) {
- ret = gf_string2boolean (srchstr, &insecure);
+ ret = gf_string2boolean (valstr, &insecure);
if (ret == 0) {
if (insecure == _gf_true)
exportinsecure = RPCSVC_AUTH_ACCEPT;