summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--radsecproxy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/radsecproxy.c b/radsecproxy.c
index 07811ec..5802b1f 100644
--- a/radsecproxy.c
+++ b/radsecproxy.c
@@ -2842,7 +2842,7 @@ void adddynamicrealmserver(struct realm *realm, struct clsrvconf *conf, char *id
if (!*realmname)
return;
for (s = realmname; *s; s++)
- if (*s != '-' && !isalnum(*s))
+ if (*s != '.' && *s != '-' && !isalnum(*s))
return;
pthread_mutex_lock(&realm->subrealms_mutex);