mirror of
https://github.com/matrix-construct/construct
synced 2024-12-29 00:44:17 +01:00
authd: res: fix build on windows ipv6
This commit is contained in:
parent
44f442e3fb
commit
9783438eb4
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue