1211. [func] Enable IPv6 support when using sysctl style interface

scanning.
This commit is contained in:
Mark Andrews
2002-05-30 01:24:12 +00:00
parent a483e67c4c
commit c549b3a4d5
2 changed files with 5 additions and 2 deletions
+3
View File
@@ -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.
+2 -2
View File
@@ -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;