mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 13:38:26 +00:00
Set address family.
This commit is contained in:
parent
a243aeb92b
commit
757a38d502
@ -222,6 +222,8 @@ internal_current(isc_interfaceiter_t *iter) {
|
|||||||
family = addr_sa->sa_family;
|
family = addr_sa->sa_family;
|
||||||
if (family != AF_INET) /* XXX IP6 */
|
if (family != AF_INET) /* XXX IP6 */
|
||||||
return (ISC_R_FAILURE);
|
return (ISC_R_FAILURE);
|
||||||
|
|
||||||
|
iter->current.af = family;
|
||||||
|
|
||||||
get_addr(family, &iter->current.address, addr_sa);
|
get_addr(family, &iter->current.address, addr_sa);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user