diff --git a/v2rayN/ServiceLib/Handler/CoreConfig/CoreConfigSingbox.cs b/v2rayN/ServiceLib/Handler/CoreConfig/CoreConfigSingbox.cs index ba6fc69d00..f0b366d686 100644 --- a/v2rayN/ServiceLib/Handler/CoreConfig/CoreConfigSingbox.cs +++ b/v2rayN/ServiceLib/Handler/CoreConfig/CoreConfigSingbox.cs @@ -702,6 +702,7 @@ private int GenOutboundMux(ProfileItem node, Outbound4Sbox outbound) enabled = true, protocol = _config.mux4SboxItem.protocol, max_connections = _config.mux4SboxItem.max_connections, + padding = _config.mux4SboxItem.padding, }; outbound.multiplex = mux; } diff --git a/v2rayN/ServiceLib/Models/ConfigItems.cs b/v2rayN/ServiceLib/Models/ConfigItems.cs index ec7f746a09..1f816a51b2 100644 --- a/v2rayN/ServiceLib/Models/ConfigItems.cs +++ b/v2rayN/ServiceLib/Models/ConfigItems.cs @@ -202,6 +202,7 @@ public class Mux4SboxItem { public string protocol { get; set; } public int max_connections { get; set; } + public bool? padding { get; set; } } [Serializable] diff --git a/v2rayN/ServiceLib/Models/SingboxConfig.cs b/v2rayN/ServiceLib/Models/SingboxConfig.cs index 12689a1a5e..259bb39590 100644 --- a/v2rayN/ServiceLib/Models/SingboxConfig.cs +++ b/v2rayN/ServiceLib/Models/SingboxConfig.cs @@ -150,6 +150,7 @@ public class Multiplex4Sbox public bool enabled { get; set; } public string protocol { get; set; } public int max_connections { get; set; } + public bool? padding { get; set; } } public class Utls4Sbox