From 2ade705e516ed556a1e3717cb39cbd969c90e3ca Mon Sep 17 00:00:00 2001 From: 2dust <31833384+2dust@users.noreply.github.com> Date: Sat, 16 Nov 2024 20:15:05 +0800 Subject: [PATCH] Bug fix --- v2rayN/ServiceLib/Handler/ConfigHandler.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/v2rayN/ServiceLib/Handler/ConfigHandler.cs b/v2rayN/ServiceLib/Handler/ConfigHandler.cs index 9ebb928d..84e6b6b4 100644 --- a/v2rayN/ServiceLib/Handler/ConfigHandler.cs +++ b/v2rayN/ServiceLib/Handler/ConfigHandler.cs @@ -959,7 +959,6 @@ namespace ServiceLib.Handler && o.Address == n.Address && o.Port == n.Port && o.Id == n.Id - && o.AlterId == n.AlterId && o.Security == n.Security && o.Network == n.Network && o.HeaderType == n.HeaderType @@ -968,6 +967,10 @@ namespace ServiceLib.Handler && (o.ConfigType == EConfigType.Trojan || o.StreamSecurity == n.StreamSecurity) && o.Flow == n.Flow && o.Sni == n.Sni + && o.Alpn == n.Alpn + && o.Fingerprint == n.Fingerprint + && o.PublicKey == n.PublicKey + && o.ShortId == n.ShortId && (!remarks || o.Remarks == n.Remarks); }