From 68ea10158ad6561efb263c1e83b3baf92b558847 Mon Sep 17 00:00:00 2001 From: DHR60 Date: Thu, 26 Feb 2026 07:08:50 +0000 Subject: [PATCH] Fix udphop (#8843) --- v2rayN/ServiceLib/Models/V2rayConfig.cs | 2 +- .../Services/CoreConfig/V2ray/V2rayOutboundService.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/v2rayN/ServiceLib/Models/V2rayConfig.cs b/v2rayN/ServiceLib/Models/V2rayConfig.cs index 53d34563..80baf43b 100644 --- a/v2rayN/ServiceLib/Models/V2rayConfig.cs +++ b/v2rayN/ServiceLib/Models/V2rayConfig.cs @@ -472,7 +472,7 @@ public class HysteriaSettings4Ray public class HysteriaUdpHop4Ray { - public string? ports { get; set; } + public string? port { get; set; } public string? interval { get; set; } } diff --git a/v2rayN/ServiceLib/Services/CoreConfig/V2ray/V2rayOutboundService.cs b/v2rayN/ServiceLib/Services/CoreConfig/V2ray/V2rayOutboundService.cs index e9002db2..05d61d16 100644 --- a/v2rayN/ServiceLib/Services/CoreConfig/V2ray/V2rayOutboundService.cs +++ b/v2rayN/ServiceLib/Services/CoreConfig/V2ray/V2rayOutboundService.cs @@ -602,7 +602,7 @@ public partial class CoreConfigV2rayService { udpHop = new HysteriaUdpHop4Ray { - ports = ports.Replace(':', '-'), + port = ports.Replace(':', '-'), interval = hopInterval, }; }