summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-volgen.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-volgen.c')
-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 50111ae..6f27c69 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;