diff --git a/lib/libc/net/gethostnamadr.c b/lib/libc/net/gethostnamadr.c index 896098262692..cbb7d7439f0f 100644 --- a/lib/libc/net/gethostnamadr.c +++ b/lib/libc/net/gethostnamadr.c @@ -55,7 +55,7 @@ static char sccsid[] = "From: @(#)gethostnamadr.c 8.1 (Berkeley) 6/4/93"; /*static char rcsid[] = "From: Id: gethnamaddr.c,v 4.9.1.1 1993/05/02 22:43:03 vixie Rel ";*/ static const char rcsid[] = - "$Id: gethostnamadr.c,v 1.2 1994/08/09 20:23:14 wollman Exp $"; + "$Id: gethostnamadr.c,v 1.3 1994/08/09 22:44:12 wollman Exp $"; #endif /* LIBC_SCCS and not lint */ #include @@ -622,7 +622,7 @@ gethostbyaddr(const char *addr, int len, int type) hp = _gethtbyaddr(addr, len, type); break; case SERVICE_BIND: - hp = _getdnsbyname(addr, len, type); + hp = _getdnsbyaddr(addr, len, type); break; case SERVICE_NIS: #ifdef YP