Fix: vmess UDP option should be effect

This commit is contained in:
Dreamacro 2020-08-30 22:49:55 +08:00
parent ad18064e6b
commit 687c2a21cf
1 changed files with 1 additions and 1 deletions

View File

@ -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,