* resolv/res_init.c (__res_vinit): Count all servers in statp->nscount.

This commit is contained in:
Ulrich Drepper 2008-12-29 19:53:48 +00:00
parent bf93cd3b8d
commit 16b7dc27a9
2 changed files with 5 additions and 1 deletions

View File

@ -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]

View File

@ -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;