mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:19:49 +00:00
iphlpapi: Fix enumerating IPv6 addresses.
This commit is contained in:
parent
9e0baa55ce
commit
d2236db8c1
1 changed files with 2 additions and 4 deletions
|
@ -770,13 +770,11 @@ static ULONG adapterAddressesFromIndex(ULONG family, ULONG flags, DWORD index,
|
|||
ret = AllocateAndGetIpForwardTableFromStack(&routeTable, FALSE,
|
||||
GetProcessHeap(), 0);
|
||||
if (!ret)
|
||||
{
|
||||
num_v4_gateways = count_v4_gateways(index, routeTable);
|
||||
if (!(flags & GAA_FLAG_SKIP_UNICAST))
|
||||
}
|
||||
if (!ret && !(flags & GAA_FLAG_SKIP_UNICAST))
|
||||
ret = v6addressesFromIndex(index, &v6addrs, &num_v6addrs);
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
FIXME("address family %u unsupported\n", family);
|
||||
|
|
Loading…
Reference in a new issue