diff options
-rw-r--r-- | src/hostname-setup.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/hostname-setup.c b/src/hostname-setup.c index 3b988d4c8b..e9f722e622 100644 --- a/src/hostname-setup.c +++ b/src/hostname-setup.c @@ -52,7 +52,8 @@ static char* strip_bad_chars(char *s) { (*p >= 'A' && *p <= 'Z') || (*p >= '0' && *p <= '9') || *p == '-' || - *p == '_') + *p == '_' || + *p == '.') *(d++) = *p; *d = 0; |