mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 18:22:50 +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#.
|
* ip#.
|
||||||
*/
|
*/
|
||||||
#ifdef RB_IPV6
|
#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);
|
gethost_byname_type_fqdn(request->name, request->query, T_AAAA);
|
||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue