diff options
-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 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); |