mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-22 01:57:12 -05:00
fix build error
This commit is contained in:
parent
6c4850634b
commit
2ff93c65f3
@ -33,7 +33,7 @@ func Dial(ctx context.Context, dest net.Destination) (Connection, error) {
|
||||
ctx = ContextWithStreamSettings(ctx, streamSettings)
|
||||
}
|
||||
|
||||
protocol = streamSettings.ProtocolName
|
||||
protocol := streamSettings.ProtocolName
|
||||
dialer := transportDialerCache[protocol]
|
||||
if dialer == nil {
|
||||
return nil, newError(protocol, " dialer not registered").AtError()
|
||||
|
Loading…
Reference in New Issue
Block a user