From 687c2a21cfdc7b99eafc2df2db36646f43fd9d24 Mon Sep 17 00:00:00 2001 From: Dreamacro <305009791@qq.com> Date: Sun, 30 Aug 2020 22:49:55 +0800 Subject: [PATCH] Fix: vmess UDP option should be effect --- adapters/outbound/vmess.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adapters/outbound/vmess.go b/adapters/outbound/vmess.go index 8eca97d..20309c2 100644 --- a/adapters/outbound/vmess.go +++ b/adapters/outbound/vmess.go @@ -158,7 +158,7 @@ func NewVmess(option VmessOption) (*Vmess, error) { name: option.Name, addr: net.JoinHostPort(option.Server, strconv.Itoa(option.Port)), tp: C.Vmess, - udp: true, + udp: option.UDP, }, client: client, option: &option,