diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-07-26 08:05:34 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-07-26 08:05:34 +0000 |
commit | 438e82396b76a9b4a88b66e0e261979a0d1447c5 (patch) | |
tree | fdd8513e5e55ea3c8e61050a6d86f57ff3786e65 /resolv/resolv.h | |
parent | ec08818d20725ce34ddaa3d9bff9a4ddc4f0c58b (diff) | |
download | glibc-438e82396b76a9b4a88b66e0e261979a0d1447c5.zip glibc-438e82396b76a9b4a88b66e0e261979a0d1447c5.tar.gz glibc-438e82396b76a9b4a88b66e0e261979a0d1447c5.tar.bz2 |
Update.
2000-07-26 Ulrich Drepper <drepper@redhat.com>
* resolv/res_init.c: Add support for nameserver communication with
IPv6.
* resolv/res_send.c: Likewise.
* resolv/resolv.h (struct __res_state): Store IPv6 address, not IPv4
in nsaddrs field.
Patch by <venaas@nvg.ntnu.no>.
Diffstat (limited to 'resolv/resolv.h')
-rw-r--r-- | resolv/resolv.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/resolv/resolv.h b/resolv/resolv.h index c7374b8..4f505a2 100644 --- a/resolv/resolv.h +++ b/resolv/resolv.h @@ -163,7 +163,12 @@ struct __res_state { u_int16_t nscount; u_int16_t nstimes[MAXNS]; /* ms. */ int nssocks[MAXNS]; +#ifdef _LIBC + u_int16_t nscount6; + struct sockaddr_in6 *nsaddrs[MAXNS]; +#else struct __sockaddr_in nsaddrs[MAXNS]; +#endif } _ext; } _u; }; |