This commit is contained in:
DHR60 2026-03-09 22:20:05 +08:00
parent 4a10a862eb
commit 5414bae069
2 changed files with 4 additions and 4 deletions

View file

@ -463,7 +463,7 @@ public class HysteriaSettings4Ray
public class UdpHop4Ray public class UdpHop4Ray
{ {
public string? port { get; set; } public string? ports { get; set; }
public string? interval { get; set; } public string? interval { get; set; }
} }
@ -490,7 +490,7 @@ public class QuicParams4Ray
public string? congestion { get; set; } public string? congestion { get; set; }
public string? brutalUp { get; set; } public string? brutalUp { get; set; }
public string? brutalDown { get; set; } public string? brutalDown { get; set; }
public UdpHop4Ray? udphop { get; set; } public UdpHop4Ray? udpHop { get; set; }
} }
public class AccountsItem4Ray public class AccountsItem4Ray

View file

@ -605,10 +605,10 @@ public partial class CoreConfigV2rayService
{ {
var udpHop = new UdpHop4Ray var udpHop = new UdpHop4Ray
{ {
port = ports.Replace(':', '-'), ports = ports.Replace(':', '-'),
interval = hopInterval, interval = hopInterval,
}; };
quicParams.udphop = udpHop; quicParams.udpHop = udpHop;
} }
if (upMbps > 0 || downMbps > 0) if (upMbps > 0 || downMbps > 0)
{ {