summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-handshake.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-handshake.c')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-handshake.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-handshake.c b/xlators/mgmt/glusterd/src/glusterd-handshake.c
index adbb40c4fed..6a273df54b6 100644
--- a/xlators/mgmt/glusterd/src/glusterd-handshake.c
+++ b/xlators/mgmt/glusterd/src/glusterd-handshake.c
@@ -146,7 +146,7 @@ server_getspec (rpcsvc_request_t *req)
*tmp = '\0';
/* we trust the local admin */
- if (!glusterd_is_local_addr (addrstr)) {
+ if (glusterd_is_local_addr (addrstr)) {
ret = build_volfile_path (volume, filename,
sizeof (filename),