mirror of
https://github.com/reactos/wine.git
synced 2025-03-01 01:05:54 +00:00
ws2_32: Fix broadcast address calculation.
This commit is contained in:
parent
a10a8eb134
commit
17248108d4
@ -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…
x
Reference in New Issue
Block a user