From 8403f9a2d976c33e01fbd9e4a4b04e8f1e936806 Mon Sep 17 00:00:00 2001 From: Rajesh Amaravathi Date: Mon, 18 Feb 2013 15:51:35 +0530 Subject: 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 Reviewed-on: http://review.gluster.org/4536 Reviewed-by: Niels de Vos Reviewed-by: Kaleb KEITHLEY Tested-by: Gluster Build System --- rpc/rpc-lib/src/rpcsvc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rpc/rpc-lib/src/rpcsvc.c') diff --git a/rpc/rpc-lib/src/rpcsvc.c b/rpc/rpc-lib/src/rpcsvc.c index c8595ee8ed1..078adc06256 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); -- cgit