mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-02-02 04:32:24 +00:00
Detect runt client packets quicker.
This commit is contained in:
parent
66e08b1e0f
commit
5385056a9e
1 changed files with 13 additions and 7 deletions
|
@ -1299,6 +1299,12 @@ void SV_ReadPackets (void)
|
|||
continue;
|
||||
}
|
||||
|
||||
if (net_message.cursize < 11)
|
||||
{
|
||||
Con_Printf ("%s: Runt packet\n",NET_AdrToString(net_from));
|
||||
continue;
|
||||
}
|
||||
|
||||
// read the qport out of the message so we can fix up
|
||||
// stupid address translating routers
|
||||
MSG_BeginReading ();
|
||||
|
|
Loading…
Reference in a new issue