diff --git a/adapters/outbound/vmess.go b/adapters/outbound/vmess.go index 8eca97dff..20309c2e3 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,