diff options
author | Ulrich Drepper <drepper@redhat.com> | 1997-02-18 04:08:52 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1997-02-18 04:08:52 +0000 |
commit | 9652be3de8913e528f86d9d4d2643db6c472f9fe (patch) | |
tree | afa08c329c7b3007487a47b78ed77c47f88d2a4d /nss | |
parent | 7434ccadbb6897d366d2377f84efe1e2cd61b02b (diff) |
update from main archive 970217
Diffstat (limited to 'nss')
-rw-r--r-- | nss/digits_dots.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/nss/digits_dots.c b/nss/digits_dots.c index b86f66cf4d..c953fc6ec6 100644 --- a/nss/digits_dots.c +++ b/nss/digits_dots.c @@ -236,7 +236,10 @@ { if (!*cp) { - if (*--cp == '.') break; + if (*--cp == '.') + break; + if (!strchr (name, ':')) + break; /* All-IPv6-legal, no dot at the end. Fake up a hostent as if we'd actually done a lookup. */ |