From 757a38d502c1d921c2318c00f6cb72251d8f15ed Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Mon, 10 Jan 2000 06:16:08 +0000 Subject: [PATCH] Set address family. --- lib/isc/unix/ifiter_sysctl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/isc/unix/ifiter_sysctl.c b/lib/isc/unix/ifiter_sysctl.c index 16a147ae74..4fd302e450 100644 --- a/lib/isc/unix/ifiter_sysctl.c +++ b/lib/isc/unix/ifiter_sysctl.c @@ -222,6 +222,8 @@ internal_current(isc_interfaceiter_t *iter) { family = addr_sa->sa_family; if (family != AF_INET) /* XXX IP6 */ return (ISC_R_FAILURE); + + iter->current.af = family; get_addr(family, &iter->current.address, addr_sa);