diff --git a/CHANGELOG b/CHANGELOG index 1969912..559f087 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -28,6 +28,7 @@ - add ino_index locking. - fix nested submount expiring away when pwd is base of submount. - more expire re-work to cope better with shutdown following cthon tests. +- allow hostname to start with numeric when validating. 13/7/2006 autofs-5.0.1 rc1 -------------------------- diff --git a/modules/parse_sun.c b/modules/parse_sun.c index 08fd34d..1f1bc3c 100644 --- a/modules/parse_sun.c +++ b/modules/parse_sun.c @@ -666,9 +666,6 @@ static int validate_location(char *loc) /* If a ':' is present now it must be a host name */ if (check_colon(ptr)) { - if (!isalpha(*ptr++)) - return 0; - while (*ptr && *ptr != ':') { if (!(isalnum(*ptr) || *ptr == '-' || *ptr == '.' ||