chore: switch ss uot default back to version 1
This commit is contained in:
parent
73140ab826
commit
f44ba26f0c
1 changed files with 1 additions and 1 deletions
|
@ -304,7 +304,7 @@ func NewShadowSocks(option ShadowSocksOption) (*ShadowSocks, error) {
|
||||||
switch option.UDPOverTCPVersion {
|
switch option.UDPOverTCPVersion {
|
||||||
case uot.Version, uot.LegacyVersion:
|
case uot.Version, uot.LegacyVersion:
|
||||||
case 0:
|
case 0:
|
||||||
option.UDPOverTCPVersion = uot.Version
|
option.UDPOverTCPVersion = uot.LegacyVersion
|
||||||
default:
|
default:
|
||||||
return nil, fmt.Errorf("ss %s unknown udp over tcp protocol version: %d", addr, option.UDPOverTCPVersion)
|
return nil, fmt.Errorf("ss %s unknown udp over tcp protocol version: %d", addr, option.UDPOverTCPVersion)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue