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

This commit is contained in:
Monster Iestyn committed 2018-09-03 15:56:02 +01:00
1 parent 846bddfdcf
commit 7b083f07cd
1 file changed
+3
+3
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)