diff --git a/v2rayN/ServiceLib/Services/CoreConfig/V2ray/V2rayInboundService.cs b/v2rayN/ServiceLib/Services/CoreConfig/V2ray/V2rayInboundService.cs index 3035bbce..0da0c29c 100644 --- a/v2rayN/ServiceLib/Services/CoreConfig/V2ray/V2rayInboundService.cs +++ b/v2rayN/ServiceLib/Services/CoreConfig/V2ray/V2rayInboundService.cs @@ -84,7 +84,7 @@ public partial class CoreConfigV2rayService { tunInbound.settings.autoOutboundsInterface = bindInterface; } - tunInbound.sniffing = inbound.sniffing; + tunInbound.sniffing = JsonUtils.DeepCopy(inbound.sniffing); // tunInbound.sniffing.routeOnly = inbound.sniffing.routeOnly; tunInbound.sniffing.routeOnly = true;