diff --git a/authd/res.c b/authd/res.c index 262c4f2bf..12bd93494 100644 --- a/authd/res.c +++ b/authd/res.c @@ -913,7 +913,7 @@ static int res_read_single_reply(rb_fde_t *F, void *data) * ip#. */ #ifdef RB_IPV6 - if (request->addr.ss_family == AF_INET6) + if (GET_SS_FAMILY(&request->addr) == AF_INET6) gethost_byname_type_fqdn(request->name, request->query, T_AAAA); else #endif