mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-18 07:22:28 +00:00
UDP_Socket: I doubt client addresses are meant to be included in the total for broadcast addresses
This commit is contained in:
parent
846bddfdcf
commit
7b083f07cd
1 changed files with 3 additions and 0 deletions
|
@ -1059,6 +1059,9 @@ static boolean UDP_Socket(void)
|
|||
clientaddress[s].ip4.sin_addr.s_addr = htonl(INADDR_LOOPBACK); //GetLocalAddress(); // my own ip
|
||||
s++;
|
||||
}
|
||||
|
||||
s = 0;
|
||||
|
||||
// setup broadcast adress to BROADCASTADDR entry
|
||||
gaie = I_getaddrinfo("255.255.255.255", "0", &hints, &ai);
|
||||
if (gaie == 0)
|
||||
|
|
Loading…
Reference in a new issue