mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2024-11-16 19:56:51 +08:00
[Fix]Vless tls must not be true
This commit is contained in:
parent
e69c54cfcd
commit
6a72feb8b5
|
@ -292,9 +292,9 @@ func (uc *vlessPacketConn) ReadFrom(b []byte) (int, net.Addr, error) {
|
|||
}
|
||||
|
||||
func NewVless(option VlessOption) (*Vless, error) {
|
||||
if !option.TLS {
|
||||
return nil, fmt.Errorf("TLS must be true with vless")
|
||||
}
|
||||
//if !option.TLS {
|
||||
// return nil, fmt.Errorf("TLS must be true with vless")
|
||||
//}
|
||||
|
||||
var addons *vless.Addons
|
||||
if option.Network != "ws" && len(option.Flow) >= 16 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user