iphlpapi: Fix enumerating IPv6 addresses.

This commit is contained in:
Juan Lang 2011-11-14 19:20:06 -08:00 committed by Alexandre Julliard
parent 9e0baa55ce
commit d2236db8c1

View file

@ -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);