From 6e5f6b901a82dd3fa3da99b99217ca1d8ab2ecaa Mon Sep 17 00:00:00 2001 From: Nite07 Date: Mon, 6 May 2024 00:36:37 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20vless=20parser=20null=20po?= =?UTF-8?q?inter=20error?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parser/vless.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/parser/vless.go b/parser/vless.go index 90e84ad..0d428c7 100644 --- a/parser/vless.go +++ b/parser/vless.go @@ -120,6 +120,14 @@ func ParseVless(proxy string) (model.Outbound, error) { } if security == "reality" { + result.VLESSOptions.OutboundTLSOptionsContainer = model.OutboundTLSOptionsContainer{ + TLS: &model.OutboundTLSOptions{ + Enabled: true, + ALPN: alpn, + ServerName: sni, + Insecure: insecureBool, + }, + } result.VLESSOptions.OutboundTLSOptionsContainer.TLS.Reality = &model.OutboundRealityOptions{ Enabled: true, PublicKey: pbk,