mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-22 10:08:15 -05:00
log
This commit is contained in:
parent
1bbbb6e3cd
commit
f64c79e239
@ -4,6 +4,7 @@ import (
|
|||||||
"errors"
|
"errors"
|
||||||
"net"
|
"net"
|
||||||
|
|
||||||
|
"v2ray.com/core/common/log"
|
||||||
v2net "v2ray.com/core/common/net"
|
v2net "v2ray.com/core/common/net"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -29,6 +30,7 @@ var (
|
|||||||
|
|
||||||
func Dial(src v2net.Address, dest v2net.Destination, options DialerOptions) (Connection, error) {
|
func Dial(src v2net.Address, dest v2net.Destination, options DialerOptions) (Connection, error) {
|
||||||
if options.Proxy.HasTag() && ProxyDialer != nil {
|
if options.Proxy.HasTag() && ProxyDialer != nil {
|
||||||
|
log.Info("Internet: Proxying outbound connection through: ", options.Proxy.Tag)
|
||||||
return ProxyDialer(src, dest, options)
|
return ProxyDialer(src, dest, options)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user