(svn r7821) -Fix: be more strict about the socket from where packets arrive. Do not accept requests about the game server on the master/client socket, do not accept master server acks on the client/server socket, etc.
This commit is contained in:
@@ -119,7 +119,7 @@ void NetworkUDPReceive(SOCKET udp)
|
||||
p.next = NULL;
|
||||
|
||||
/* Handle the packet */
|
||||
NetworkHandleUDPPacket(&p, &client_addr);
|
||||
NetworkHandleUDPPacket(udp, &p, &client_addr);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user