diff options
Diffstat (limited to 'src/lib/libc/net/gethostnamadr.c')
-rw-r--r-- | src/lib/libc/net/gethostnamadr.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/libc/net/gethostnamadr.c b/src/lib/libc/net/gethostnamadr.c index 2c0595803b..ec3f14a900 100644 --- a/src/lib/libc/net/gethostnamadr.c +++ b/src/lib/libc/net/gethostnamadr.c | |||
@@ -270,7 +270,6 @@ gethostbyname(name) | |||
270 | register struct hostent *hp; | 270 | register struct hostent *hp; |
271 | char lookups[MAXDNSLUS]; | 271 | char lookups[MAXDNSLUS]; |
272 | 272 | ||
273 | #ifdef insecure | ||
274 | /* | 273 | /* |
275 | * disallow names consisting only of digits/dots, unless | 274 | * disallow names consisting only of digits/dots, unless |
276 | * they end in a dot. | 275 | * they end in a dot. |
@@ -302,7 +301,6 @@ gethostbyname(name) | |||
302 | if (!isdigit(*cp) && *cp != '.') | 301 | if (!isdigit(*cp) && *cp != '.') |
303 | break; | 302 | break; |
304 | } | 303 | } |
305 | #endif | ||
306 | 304 | ||
307 | if ((_res.options & RES_INIT) == 0 && res_init() == -1) | 305 | if ((_res.options & RES_INIT) == 0 && res_init() == -1) |
308 | return (_gethtbyname(name)); | 306 | return (_gethtbyname(name)); |