From 919ec014772e563909cc61a43626e3a245b3c70e Mon Sep 17 00:00:00 2001 From: Pieter-Jan Briers Date: Sat, 23 Mar 2024 16:27:33 +0100 Subject: [PATCH] Enable MTU expansion by default. Due to yet another need to lower the MTU we should enable this by default. Improves network efficiency. --- RELEASE-NOTES.md | 1 + Robust.Shared/CVars.cs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index dc2172c7f04..b87f8bdd2ef 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -54,6 +54,7 @@ END TEMPLATE--> * `CheckBox`'s interior texture is now vertically centered. * Lidgren.Network has been updated to [`v0.3.0`](https://github.com/space-wizards/SpaceWizards.Lidgren.Network/blob/v0.3.0/RELEASE-NOTES.md). * Lowered default IPv4 MTU to 900 (from 1000). +* Automatic MTU expansion (`net.mtu_expand`) is now enabled by default. ### Internal diff --git a/Robust.Shared/CVars.cs b/Robust.Shared/CVars.cs index 13fd50d44ce..ce6c37386f4 100644 --- a/Robust.Shared/CVars.cs +++ b/Robust.Shared/CVars.cs @@ -88,7 +88,7 @@ protected CVars() /// /// public static readonly CVarDef NetMtuExpand = - CVarDef.Create("net.mtu_expand", false, CVar.ARCHIVE); + CVarDef.Create("net.mtu_expand", true, CVar.ARCHIVE); /// /// Interval between MTU expansion attempts, in seconds.