summaryrefslogtreecommitdiff
path: root/lib/libc/net
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1996-12-06 00:12:31 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1996-12-06 00:12:31 +0000
commit380577b43422a6beea86e1e7b04c5f212d3b541a (patch)
tree5522d59cf7e6c76f12ed34e9050a032b2f7d356d /lib/libc/net
parented5b7817a451fd4a3f86586adfc8b365d29086c4 (diff)
Notes
Diffstat (limited to 'lib/libc/net')
-rw-r--r--lib/libc/net/getnetbynis.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/net/getnetbynis.c b/lib/libc/net/getnetbynis.c
index 7c256e010d49..44f2066a8adc 100644
--- a/lib/libc/net/getnetbynis.c
+++ b/lib/libc/net/getnetbynis.c
@@ -24,8 +24,8 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char sccsid[] = "@(#)$Id: getnetbynis.c,v 1.5 1996/03/23 22:16:22 wpaul Exp $";
-static char rcsid[] = "$Id: getnetbynis.c,v 1.5 1996/03/23 22:16:22 wpaul Exp $";
+static char sccsid[] = "@(#)$Id: getnetbynis.c,v 1.6 1996/08/29 20:08:01 peter Exp $";
+static char rcsid[] = "$Id: getnetbynis.c,v 1.6 1996/08/29 20:08:01 peter Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/param.h>
@@ -125,7 +125,7 @@ struct netent *
_getnetbynisname(name)
const char *name;
{
- return _getnetbynis(name, "networks.byname");
+ return _getnetbynis(name, "networks.byname", AF_INET);
}
struct netent *