mirror of https://github.com/Dreamacro/clash.git
Fix: vmess alterId can be 0
This commit is contained in:
parent
082d3bbf04
commit
1f556d4ae5
|
@ -50,5 +50,6 @@ func newAlterIDs(primary *ID, alterIDCount uint16) []*ID {
|
|||
alterIDs[idx] = &ID{UUID: newid, CmdKey: primary.CmdKey[:]}
|
||||
prevID = newid
|
||||
}
|
||||
alterIDs = append(alterIDs, primary)
|
||||
return alterIDs
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue