From 5414bae06983e9869f7833c53b8208bd3d1d4999 Mon Sep 17 00:00:00 2001 From: DHR60 Date: Mon, 9 Mar 2026 22:20:05 +0800 Subject: [PATCH] Sync --- v2rayN/ServiceLib/Models/V2rayConfig.cs | 4 ++-- .../Services/CoreConfig/V2ray/V2rayOutboundService.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/v2rayN/ServiceLib/Models/V2rayConfig.cs b/v2rayN/ServiceLib/Models/V2rayConfig.cs index 40a64c1d..c20195ea 100644 --- a/v2rayN/ServiceLib/Models/V2rayConfig.cs +++ b/v2rayN/ServiceLib/Models/V2rayConfig.cs @@ -463,7 +463,7 @@ public class HysteriaSettings4Ray public class UdpHop4Ray { - public string? port { get; set; } + public string? ports { get; set; } public string? interval { get; set; } } @@ -490,7 +490,7 @@ public class QuicParams4Ray public string? congestion { get; set; } public string? brutalUp { get; set; } public string? brutalDown { get; set; } - public UdpHop4Ray? udphop { get; set; } + public UdpHop4Ray? udpHop { get; set; } } public class AccountsItem4Ray diff --git a/v2rayN/ServiceLib/Services/CoreConfig/V2ray/V2rayOutboundService.cs b/v2rayN/ServiceLib/Services/CoreConfig/V2ray/V2rayOutboundService.cs index bc2dd366..2d7c3129 100644 --- a/v2rayN/ServiceLib/Services/CoreConfig/V2ray/V2rayOutboundService.cs +++ b/v2rayN/ServiceLib/Services/CoreConfig/V2ray/V2rayOutboundService.cs @@ -605,10 +605,10 @@ public partial class CoreConfigV2rayService { var udpHop = new UdpHop4Ray { - port = ports.Replace(':', '-'), + ports = ports.Replace(':', '-'), interval = hopInterval, }; - quicParams.udphop = udpHop; + quicParams.udpHop = udpHop; } if (upMbps > 0 || downMbps > 0) {