Commit 5731967d authored by Stephen R. Veit's avatar Stephen R. Veit Committed by Alexandre Julliard

iphlpapi: Fix GetAdaptersInfo return value for IpMask.

parent b3aae212
......@@ -722,7 +722,7 @@ DWORD WINAPI GetAdaptersInfo(PIP_ADAPTER_INFO pAdapterInfo, PULONG pOutBufLen)
if (firstIPAddr) {
toIPAddressString(ipAddrTable->table[i].dwAddr,
ptr->IpAddressList.IpAddress.String);
toIPAddressString(ipAddrTable->table[i].dwBCastAddr,
toIPAddressString(ipAddrTable->table[i].dwMask,
ptr->IpAddressList.IpMask.String);
firstIPAddr = FALSE;
}
......@@ -731,7 +731,7 @@ DWORD WINAPI GetAdaptersInfo(PIP_ADAPTER_INFO pAdapterInfo, PULONG pOutBufLen)
currentIPAddr = nextIPAddr;
toIPAddressString(ipAddrTable->table[i].dwAddr,
currentIPAddr->IpAddress.String);
toIPAddressString(ipAddrTable->table[i].dwBCastAddr,
toIPAddressString(ipAddrTable->table[i].dwMask,
currentIPAddr->IpMask.String);
nextIPAddr++;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment