1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-17 13:05:24 +00:00
This commit is contained in:
Darien Raymond 2016-11-19 22:40:06 +01:00
parent 1bbbb6e3cd
commit f64c79e239
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -4,6 +4,7 @@ import (
"errors"
"net"
"v2ray.com/core/common/log"
v2net "v2ray.com/core/common/net"
)
@ -29,6 +30,7 @@ var (
func Dial(src v2net.Address, dest v2net.Destination, options DialerOptions) (Connection, error) {
if options.Proxy.HasTag() && ProxyDialer != nil {
log.Info("Internet: Proxying outbound connection through: ", options.Proxy.Tag)
return ProxyDialer(src, dest, options)
}