mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-24 07:41:10 -04:00
1211. [func] Enable IPv6 support when using sysctl style interface
scanning.
This commit is contained in:
parent
a483e67c4c
commit
c549b3a4d5
2 changed files with 5 additions and 2 deletions
3
CHANGES
3
CHANGES
|
|
@ -1,3 +1,6 @@
|
|||
1211. [func] Enable IPv6 support when using sysctl style interface
|
||||
scanning.
|
||||
|
||||
1210. [func] "dig axfr" now reports the number of messages
|
||||
as well as the number of records.
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: ifiter_sysctl.c,v 1.16 2001/11/27 01:56:15 gson Exp $ */
|
||||
/* $Id: ifiter_sysctl.c,v 1.17 2002/05/30 01:24:12 marka Exp $ */
|
||||
|
||||
/*
|
||||
* Obtain the list of network interfaces using sysctl.
|
||||
|
|
@ -238,7 +238,7 @@ internal_current(isc_interfaceiter_t *iter) {
|
|||
return (ISC_R_IGNORE);
|
||||
|
||||
family = addr_sa->sa_family;
|
||||
if (family != AF_INET) /* XXX IP6 */
|
||||
if (family != AF_INET && family != AF_INET6)
|
||||
return (ISC_R_IGNORE);
|
||||
|
||||
iter->current.af = family;
|
||||
|
|
|
|||
Loading…
Reference in a new issue