diff options
author | Rajesh Amaravathi <rajesh@redhat.com> | 2013-02-18 15:51:35 +0530 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2013-02-18 09:34:16 -0800 |
commit | 8403f9a2d976c33e01fbd9e4a4b04e8f1e936806 (patch) | |
tree | 6c1d5db5af1097cce0f78b215f0a3bbefa4dc928 | |
parent | e306d08ef10f330c36e6874cf16c7554c6cbc867 (diff) | |
download | glusterfs-8403f9a2d976c33e01fbd9e4a4b04e8f1e936806.tar.gz glusterfs-8403f9a2d976c33e01fbd9e4a4b04e8f1e936806.tar.xz glusterfs-8403f9a2d976c33e01fbd9e4a4b04e8f1e936806.zip |
rpc: change dict key for fqdn
changed the key from "client.fqdn", which could be wrongly
construed as belonging to protocol/client, to "fqdn".
Change-Id: Ib5f4a875a00b99cd903a29da19bafeb70baaab4e
BUG: 906119
Signed-off-by: Rajesh Amaravathi <rajesh@redhat.com>
Reviewed-on: http://review.gluster.org/4536
Reviewed-by: Niels de Vos <ndevos@redhat.com>
Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
-rw-r--r-- | rpc/rpc-lib/src/rpcsvc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rpc/rpc-lib/src/rpcsvc.c b/rpc/rpc-lib/src/rpcsvc.c index c8595ee8ed..078adc0625 100644 --- a/rpc/rpc-lib/src/rpcsvc.c +++ b/rpc/rpc-lib/src/rpcsvc.c @@ -1930,7 +1930,7 @@ rpcsvc_transport_peer_check_search (dict_t *options, char *pattern, char *clstr) if ((!options) || (!clstr)) return -1; - ret = dict_get_str (options, "client.fqdn", &fqdn); + ret = dict_get_str (options, "fqdn", &fqdn); if (!dict_get (options, pattern)) return -1; @@ -2203,7 +2203,7 @@ rpcsvc_transport_peer_check_name (dict_t *options, char *volname, ret = gf_get_hostname_from_ip (clstr, &hostname); if (!ret) - ret = dict_set_dynstr (options, "client.fqdn", + ret = dict_set_dynstr (options, "fqdn", hostname); aret = rpcsvc_transport_peer_check_allow (options, volname, clstr); |