mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 11:43:31 +00:00
ws2_32: Fix broadcast address calculation.
This commit is contained in:
parent
a10a8eb134
commit
17248108d4
1 changed files with 1 additions and 1 deletions
|
@ -2164,7 +2164,7 @@ INT WINAPI WSAIoctl(SOCKET s,
|
|||
|
||||
addr = inet_addr(ptr->IpAddressList.IpAddress.String);
|
||||
mask = inet_addr(ptr->IpAddressList.IpMask.String);
|
||||
bcast = addr | (addr & !mask);
|
||||
bcast = addr | ~mask;
|
||||
intArray->iiAddress.AddressIn.sin_family = AF_INET;
|
||||
intArray->iiAddress.AddressIn.sin_port = 0;
|
||||
intArray->iiAddress.AddressIn.sin_addr.WS_s_addr =
|
||||
|
|
Loading…
Reference in a new issue