From 9783438eb429de6d1830fa3c23e71380b06eddd9 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Sun, 20 Mar 2016 04:22:17 -0500 Subject: [PATCH] authd: res: fix build on windows ipv6 --- authd/res.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authd/res.c b/authd/res.c index 262c4f2b..12bd9349 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