summaryrefslogtreecommitdiffstats
path: root/xlators/protocol/server/src/server.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/protocol/server/src/server.c')
-rw-r--r--xlators/protocol/server/src/server.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/xlators/protocol/server/src/server.c b/xlators/protocol/server/src/server.c
index 6f6be52ab15..0dfe19a16b4 100644
--- a/xlators/protocol/server/src/server.c
+++ b/xlators/protocol/server/src/server.c
@@ -380,6 +380,12 @@ _check_for_auth_option (dict_t *d, char *k, data_t *v,
if (!tail)
goto out;
+ if (strncmp(tail, "addr.", 5) != 0) {
+ gf_log (xl->name, GF_LOG_INFO,
+ "skip format check for non-addr auth option %s", k);
+ goto out;
+ }
+
/* fast fwd thru module type */
tail = strchr (tail, '.');
if (!tail)