From 2c454aee953473c362e9809cba043aa44ad8d5e5 Mon Sep 17 00:00:00 2001 From: DHR60 Date: Wed, 21 Jan 2026 12:23:40 +0800 Subject: [PATCH] Fix hy2 migrate --- v2rayN/ServiceLib/Manager/AppManager.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/v2rayN/ServiceLib/Manager/AppManager.cs b/v2rayN/ServiceLib/Manager/AppManager.cs index e4d53c3e..3838626e 100644 --- a/v2rayN/ServiceLib/Manager/AppManager.cs +++ b/v2rayN/ServiceLib/Manager/AppManager.cs @@ -306,6 +306,11 @@ public sealed class AppManager case EConfigType.VMess: extra.VmessSecurity = item.Security.IsNotEmpty() ? item.Security : null; break; + case EConfigType.Hysteria2: + extra.UpMbps = _config.HysteriaItem.UpMbps; + extra.DownMbps = _config.HysteriaItem.DownMbps; + extra.HopInterval = _config.HysteriaItem.HopInterval; + break; case EConfigType.WireGuard: extra.WgPublicKey = item.PublicKey.IsNotEmpty() ? item.PublicKey : null; extra.WgInterfaceAddress = item.RequestHost.IsNotEmpty() ? item.RequestHost : null;