diff options
author | peter <peter@FreeBSD.org> | 1996-12-30 13:18:48 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1996-12-30 13:18:48 +0000 |
commit | 43be453b52c9807ae45f5761e14df21a517e496c (patch) | |
tree | 95acb64999d1c2cf1eac009cfb040c2ee06fcf9f /lib/libc/net/res_init.c | |
parent | fe7b8366bd9e63bfd995fe39fdf50e2dc370efff (diff) | |
download | FreeBSD-src-43be453b52c9807ae45f5761e14df21a517e496c.zip FreeBSD-src-43be453b52c9807ae45f5761e14df21a517e496c.tar.gz |
Here goes.. Bring the 4.9.5-P1 resolver into -current. This has the
DNSSEC stuff, among other things. There are also some renamed functions,
I've left out the res_stubs.c from this commit in case cvs bombs out..
Diffstat (limited to 'lib/libc/net/res_init.c')
-rw-r--r-- | lib/libc/net/res_init.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/libc/net/res_init.c b/lib/libc/net/res_init.c index aeb021f..7fd1a0e 100644 --- a/lib/libc/net/res_init.c +++ b/lib/libc/net/res_init.c @@ -55,7 +55,7 @@ #if defined(LIBC_SCCS) && !defined(lint) static char sccsid[] = "@(#)res_init.c 8.1 (Berkeley) 6/7/93"; -static char rcsid[] = "$Id: res_init.c,v 8.5 1996/08/05 08:31:35 vixie Exp $"; +static char rcsid[] = "$Id: res_init.c,v 1.9 1996/08/30 21:13:35 peter Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/types.h> @@ -87,7 +87,11 @@ static u_int32_t net_mask __P((struct in_addr)); * Resolver state default settings. */ -struct __res_state _res; +struct __res_state _res +# if defined(__BIND_RES_TEXT) + = { RES_TIMEOUT, } /* Motorola, et al. */ +# endif + ; /* * Set up default settings. If the configuration file exist, the values @@ -444,7 +448,7 @@ net_mask(in) /* XXX - should really use system's version of this */ } #endif -u_int16_t +u_int res_randomid() { struct timeval now; |