aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorLee Salzman <[email protected]>2023-04-02 16:48:09 -0400
committerLee Salzman <[email protected]>2023-04-02 16:48:09 -0400
commitea4607a90dbfbcf4da2669ea998585253d8e70b1 (patch)
treeacf41a59e5ba647152360c2d0a2cc57edceb71b9 /include
parent8ae0e85298fafdb20777b4eb4241218f52f775b0 (diff)
downloadenet-ea4607a90dbfbcf4da2669ea998585253d8e70b1.tar.gz
enet-ea4607a90dbfbcf4da2669ea998585253d8e70b1.zip
lower default MTU to 1392 to avoid stressing certain VPNs
Diffstat (limited to 'include')
-rw-r--r--include/enet/enet.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/enet/enet.h b/include/enet/enet.h
index be59c10..4a20704 100644
--- a/include/enet/enet.h
+++ b/include/enet/enet.h
@@ -213,7 +213,7 @@ enum
ENET_HOST_RECEIVE_BUFFER_SIZE = 256 * 1024,
ENET_HOST_SEND_BUFFER_SIZE = 256 * 1024,
ENET_HOST_BANDWIDTH_THROTTLE_INTERVAL = 1000,
- ENET_HOST_DEFAULT_MTU = 1400,
+ ENET_HOST_DEFAULT_MTU = 1392,
ENET_HOST_DEFAULT_MAXIMUM_PACKET_SIZE = 32 * 1024 * 1024,
ENET_HOST_DEFAULT_MAXIMUM_WAITING_DATA = 32 * 1024 * 1024,