diff options
author | Ulrich Drepper <drepper@redhat.com> | 2002-05-31 07:54:02 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2002-05-31 07:54:02 +0000 |
commit | b64e1566263764ddc1173cfa3f94d0ef92ae2883 (patch) | |
tree | 265ef2e36521a7a8382a709b1f817fa51c0464e3 /resolv/resolv.h | |
parent | 2afdb78308bba863d275cbae0b22c51a07826af7 (diff) | |
download | glibc-b64e1566263764ddc1173cfa3f94d0ef92ae2883.tar.gz glibc-b64e1566263764ddc1173cfa3f94d0ef92ae2883.tar.xz glibc-b64e1566263764ddc1173cfa3f94d0ef92ae2883.zip |
Update.
2002-05-21 Jakub Jelinek <jakub@redhat.com> * resolv/resolv.h (struct __res_state): Remove unused nstimes. Add nsmap. * resolv/res_init.c (__res_vinit): Initialize nsmap array. Remove nstimes setting. (res_nclose): Check all MAXNS nameservers with non-NULL nsaddrs. * resolv/res_send.c (res_nsend): Don't close unconditionally if there is mix of IPv6 and IPv4 nameservers. Use nsmap array to find free slots and preserve nameserver ordering. Fix RES_ROTATE.
Diffstat (limited to 'resolv/resolv.h')
-rw-r--r-- | resolv/resolv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resolv/resolv.h b/resolv/resolv.h index 238ea59d65..09bddb8965 100644 --- a/resolv/resolv.h +++ b/resolv/resolv.h @@ -130,7 +130,7 @@ struct __res_state { char pad[52]; /* On an i386 this means 512b total. */ struct { u_int16_t nscount; - u_int16_t nstimes[MAXNS]; /* ms. */ + u_int16_t nsmap[MAXNS]; int nssocks[MAXNS]; u_int16_t nscount6; u_int16_t nsinit; |