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>
This commit is contained in:
Rajesh Amaravathi 2013-02-18 15:51:35 +05:30 committed by Anand Avati
parent e306d08ef1
commit 8403f9a2d9

View File

@ -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);