Skip to content

Commit

Permalink
another xp fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bradh352 committed Jan 8, 2025
1 parent f8491f9 commit 5dd2941
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/lib/util/ares_iface_ips.c
Original file line number Diff line number Diff line change
Expand Up @@ -431,8 +431,13 @@ static ares_status_t ares_iface_ips_enumerate(ares_iface_ips_t *ips,
}

status = ares_iface_ips_add(ips, addrflag, ifname, &addr,
#if _WIN32_WINNT >= 0x0600
ipaddr->OnLinkPrefixLength /* netmask */,
address->Ipv6IfIndex /* ll_scope */);
address->Ipv6IfIndex /* ll_scope */
#else
32, 0
#endif
);

if (status != ARES_SUCCESS) {
goto done;
Expand Down

0 comments on commit 5dd2941

Please sign in to comment.