UDP_Socket: I doubt client addresses are meant to be included in the total for broadcast addresses

This commit is contained in:
Monster Iestyn 2018-09-03 15:56:02 +01:00
parent 846bddfdcf
commit 7b083f07cd
1 changed files with 3 additions and 0 deletions

View File

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