we are hitting a hard limit so do this for now.
Packet fragmenting is bad since many firewalls consider it bad traffic, we are going to have to rework stuff around this fact later.
This commit is contained in:
parent
c581e5c5e1
commit
4b50dd0ead
1 changed files with 2 additions and 1 deletions
|
|
@ -1245,7 +1245,8 @@ boolean D_CheckNetGame(void)
|
|||
#if 0
|
||||
software_MAXPACKETLENGTH = hardware_MAXPACKETLENGTH;
|
||||
#else
|
||||
software_MAXPACKETLENGTH = 1500;
|
||||
// MTU, IPV4, UDP header.
|
||||
software_MAXPACKETLENGTH = 1500 - 20 - 8;
|
||||
#endif
|
||||
if (M_CheckParm("-packetsize"))
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue