1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-30 05:56:54 -05:00

default security settings for dynamic port

This commit is contained in:
Darien Raymond 2017-02-11 07:29:29 +01:00
parent d3a5a75a34
commit 0cfd8ab423
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -13,6 +13,9 @@ func (v *VMessOutboundHandler) handleSwitchAccount(cmd *protocol.CommandSwitchAc
account := &vmess.Account{
Id: cmd.ID.String(),
AlterId: uint32(cmd.AlterIds),
SecuritySettings: &protocol.SecurityConfig{
Type: protocol.SecurityType_LEGACY,
},
}
user := &protocol.User{