mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-22 10:08:15 -05:00
fix tcp log
This commit is contained in:
parent
b9dde62ae7
commit
e8cde53975
@ -16,7 +16,7 @@ var (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func Dial(src v2net.Address, dest v2net.Destination, options internet.DialerOptions) (internet.Connection, error) {
|
func Dial(src v2net.Address, dest v2net.Destination, options internet.DialerOptions) (internet.Connection, error) {
|
||||||
log.Info("Dailing TCP to ", dest)
|
log.Info("Internet|TCP: Dailing TCP to ", dest)
|
||||||
if src == nil {
|
if src == nil {
|
||||||
src = v2net.AnyIP
|
src = v2net.AnyIP
|
||||||
}
|
}
|
||||||
@ -68,7 +68,7 @@ func Dial(src v2net.Address, dest v2net.Destination, options internet.DialerOpti
|
|||||||
}
|
}
|
||||||
|
|
||||||
func DialRaw(src v2net.Address, dest v2net.Destination, options internet.DialerOptions) (internet.Connection, error) {
|
func DialRaw(src v2net.Address, dest v2net.Destination, options internet.DialerOptions) (internet.Connection, error) {
|
||||||
log.Info("Dailing Raw TCP to ", dest)
|
log.Info("Internet|TCP: Dailing Raw TCP to ", dest)
|
||||||
conn, err := internet.DialToDest(src, dest)
|
conn, err := internet.DialToDest(src, dest)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
Loading…
Reference in New Issue
Block a user