diff options
author | raf <none@none> | 2006-01-09 21:35:40 -0800 |
---|---|---|
committer | raf <none@none> | 2006-01-09 21:35:40 -0800 |
commit | 6c740c0a708fa2f50ef147a46e4c5a9f753fe06f (patch) | |
tree | bb8609ff923d348c008f94043bd968dbee66637f /usr/src/lib/libnsl/nss/netdir_inet.c | |
parent | 8949bcd619d78e849deef983cb8310bc3aa3e242 (diff) | |
download | illumos-gate-6c740c0a708fa2f50ef147a46e4c5a9f753fe06f.tar.gz |
6370388 fixes for 6362982 and 6369040 were too optimistic
Diffstat (limited to 'usr/src/lib/libnsl/nss/netdir_inet.c')
-rw-r--r-- | usr/src/lib/libnsl/nss/netdir_inet.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/usr/src/lib/libnsl/nss/netdir_inet.c b/usr/src/lib/libnsl/nss/netdir_inet.c index 5771c6d716..1c71bc100a 100644 --- a/usr/src/lib/libnsl/nss/netdir_inet.c +++ b/usr/src/lib/libnsl/nss/netdir_inet.c @@ -21,11 +21,11 @@ */ /* - * Copyright 2005 Sun Microsystems, Inc. All rights reserved. + * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. - * - * lib/libnsl/nss/netdir_inet.c - * + */ + +/* * This is where we have chosen to combine every useful bit of code for * all the Solaris frontends to lookup hosts, services, and netdir information * for inet family (udp, tcp) transports. gethostbyYY(), getservbyYY(), and @@ -191,7 +191,6 @@ _get_hostserv_inetnetdir_byname(struct netconfig *nconf, struct in_addr *inaddrs = NULL; struct in6_addr v6nameaddr; char **baddrlist = NULL; - extern int _inet_aton(); if (nconf == NULL) { @@ -228,7 +227,7 @@ _get_hostserv_inetnetdir_byname(struct netconfig *nconf, * gethostbyname, return that back as the address. * The nd_addr_lock mutex was added to be truely re-entrant. */ - if (_inet_aton(args->arg.nss.host.name, + if (inet_aton(args->arg.nss.host.name, (struct in_addr *)&dotnameaddr)) { (void) mutex_lock(&nd_addr_lock); (void) memset(&sa_con, 0, sizeof (sa_con)); |