mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-08-30 18:35:32 +00:00
fix: no flow value for def flow.
This commit is contained in:
parent
1d05e4e4f8
commit
3acfd3d90f
@ -40,7 +40,9 @@ func (c *VLessInboundConfig) Build() (proto.Message, error) {
|
||||
config := new(inbound.Config)
|
||||
config.Clients = make([]*protocol.User, len(c.Clients))
|
||||
switch c.Flow {
|
||||
case "", vless.XRV, vless.NoFLow:
|
||||
case vless.NoFLow:
|
||||
c.Flow = ""
|
||||
case "", vless.XRV:
|
||||
default:
|
||||
return nil, errors.New(`VLESS "settings.flow" doesn't support "` + c.Flow + `" in this version`)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user