default security settings for dynamic port

pull/432/head
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
1 changed files with 3 additions and 0 deletions

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{