summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-volgen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volgen.c b/xlators/mgmt/glusterd/src/glusterd-volgen.c
index 50111ae76..6f27c6967 100644
--- a/xlators/mgmt/glusterd/src/glusterd-volgen.c
+++ b/xlators/mgmt/glusterd/src/glusterd-volgen.c
@@ -1066,7 +1066,7 @@ server_auth_option_handler (glusterfs_graph_t *graph,
int ret = 0;
char *key = NULL;
- if ( (strcmp (vme->option, "!auth.addr.*.allow") != 0) ||
+ if ( (strcmp (vme->option, "!auth.addr.*.allow") != 0) &&
(strcmp (vme->option, "!auth.addr.*.reject") != 0))
return 0;