diff --git a/v2rayN/ServiceLib/Handler/CoreConfig/CoreConfigSingbox.cs b/v2rayN/ServiceLib/Handler/CoreConfig/CoreConfigSingbox.cs index ba6fc69d..f0b366d6 100644 --- a/v2rayN/ServiceLib/Handler/CoreConfig/CoreConfigSingbox.cs +++ b/v2rayN/ServiceLib/Handler/CoreConfig/CoreConfigSingbox.cs @@ -702,6 +702,7 @@ namespace ServiceLib.Handler.CoreConfig 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 ec7f746a..1f816a51 100644 --- a/v2rayN/ServiceLib/Models/ConfigItems.cs +++ b/v2rayN/ServiceLib/Models/ConfigItems.cs @@ -202,6 +202,7 @@ { 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 12689a1a..259bb395 100644 --- a/v2rayN/ServiceLib/Models/SingboxConfig.cs +++ b/v2rayN/ServiceLib/Models/SingboxConfig.cs @@ -150,6 +150,7 @@ public bool enabled { get; set; } public string protocol { get; set; } public int max_connections { get; set; } + public bool? padding { get; set; } } public class Utls4Sbox