mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-17 22:50:51 +00:00
ports < 1024 are bad, period :)
This commit is contained in:
parent
4c52975584
commit
da05864313
1 changed files with 1 additions and 1 deletions
|
@ -288,7 +288,7 @@ NET_GetPacket (void)
|
|||
}
|
||||
|
||||
// Check for malformed packets
|
||||
if (is_server && ntohs(net_from.port)<1024) {
|
||||
if (ntohs(net_from.port)<1024) {
|
||||
Con_Printf ("Warning: Packet from %s dropped: Bad port\n",
|
||||
NET_AdrToString (net_from));
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue