diff options
| author | Peter Wemm <peter@FreeBSD.org> | 1997-06-27 08:22:03 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 1997-06-27 08:22:03 +0000 |
| commit | 6c5aff806eaf1b8c8ef20679de9e111135b3a62b (patch) | |
| tree | 6b58be4891dcc3ff2a4fc2c3a17b01034559196a /lib/libc/net/getnetbydns.c | |
| parent | 11e226045a6aa5a35ffbe42256aa0ecdf3ada079 (diff) | |
Notes
Diffstat (limited to 'lib/libc/net/getnetbydns.c')
| -rw-r--r-- | lib/libc/net/getnetbydns.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/net/getnetbydns.c b/lib/libc/net/getnetbydns.c index 6029cd6047be..2228a5c24915 100644 --- a/lib/libc/net/getnetbydns.c +++ b/lib/libc/net/getnetbydns.c @@ -60,7 +60,7 @@ #if defined(LIBC_SCCS) && !defined(lint) static char sccsid[] = "@(#)gethostnamadr.c 8.1 (Berkeley) 6/4/93"; -static char rcsid[] = "$Id$"; +static char rcsid[] = "$Id: getnetbydns.c,v 1.10 1997/02/22 15:00:10 peter Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/param.h> @@ -117,7 +117,7 @@ getnetanswer(answer, anslen, net_i) char aux1[30], aux2[30], ans[30], *in, *st, *pauxt, *bp, **ap, *paux1 = &aux1[0], *paux2 = &aux2[0], flag = 0; static struct netent net_entry; -static char *net_aliases[MAXALIASES], netbuf[BUFSIZ+1]; +static char *net_aliases[MAXALIASES], netbuf[PACKETSZ]; /* * find first satisfactory answer |
