ports < 1024 are bad, period :)

This commit is contained in:
Bill Currie 2003-08-27 17:47:53 +00:00
parent 4c52975584
commit da05864313

View file

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