mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 19:00:07 +00:00
* resolv/res_init.c (__res_vinit): Count all servers in statp->nscount.
This commit is contained in:
parent
bf93cd3b8d
commit
16b7dc27a9
@ -1,3 +1,7 @@
|
||||
2008-12-29 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* resolv/res_init.c (__res_vinit): Count all servers in statp->nscount.
|
||||
|
||||
2008-12-21 Bruno Haible <bruno@clisp.org>
|
||||
|
||||
[BZ #9677]
|
||||
|
@ -420,7 +420,7 @@ __res_vinit(res_state statp, int preinit) {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
statp->nscount = nserv;
|
||||
statp->nscount = nservall;
|
||||
#ifdef _LIBC
|
||||
if (nservall - nserv > 0) {
|
||||
statp->_u._ext.nscount6 = nservall - nserv;
|
||||
|
Loading…
Reference in New Issue
Block a user